aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_init.c
diff options
context:
space:
mode:
authorJason Yan <[email protected]>2021-07-16 07:45:51 +0000
committerMartin K. Petersen <[email protected]>2021-07-21 03:11:17 +0000
commite15f669cd996b85bb07b0e787fa78806477bf211 (patch)
tree13fe0220a49ba73e3b7213c10a5446d9833c0c9b /drivers/scsi/libsas/sas_init.c
parentscsi: ufs: core: Use scsi_get_lba() to get LBA (diff)
downloadkernel-e15f669cd996b85bb07b0e787fa78806477bf211.tar.gz
kernel-e15f669cd996b85bb07b0e787fa78806477bf211.zip
scsi: libsas: Allow libsas to include SCSI header files directly
libsas needs to include some header files in the scsi directory. However these are currently hardcoded with the path "../" in the C files. Do this in the Makefile to avoid hardcoding the path. Link: https://lore.kernel.org/r/[email protected] Cc: John Garry <[email protected]> Reviewed-by: John Garry <[email protected]> Signed-off-by: Jason Yan <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
-rw-r--r--drivers/scsi/libsas/sas_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_init.c b/drivers/scsi/libsas/sas_init.c
index 2b0f98ca6ec3..80592f53017a 100644
--- a/drivers/scsi/libsas/sas_init.c
+++ b/drivers/scsi/libsas/sas_init.c
@@ -19,7 +19,7 @@
#include "sas_internal.h"
-#include "../scsi_sas_internal.h"
+#include "scsi_sas_internal.h"
static struct kmem_cache *sas_task_cache;
static struct kmem_cache *sas_event_cache;