scsi: remove unneeded header search paths
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 25 Jan 2019 07:09:03 +0000 (16:09 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Jan 2019 06:22:21 +0000 (01:22 -0500)
I was able to build without these extra header search paths.

Especially, the header search path -I. in kernel Makefiles is always
suspicious; it allows the compiler to search for headers in the top of
$(srctree), where obviously no header file exists.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/Makefile
drivers/scsi/aic7xxx/Makefile
drivers/scsi/smartpqi/Makefile

index 1bd9fd18f7f337eda4548c965c9f3d15e048dbaa..3893b95b140bedc78cd97269e8469f30302794cc 100644 (file)
@@ -4,5 +4,3 @@ obj-$(CONFIG_SCSI_AACRAID) := aacraid.o
 
 aacraid-objs   := linit.o aachba.o commctrl.o comminit.o commsup.o \
                   dpcsup.o rx.o sa.o rkt.o nark.o src.o
-
-ccflags-y      := -Idrivers/scsi
index c15be2590d1cd105ad44d23ada3efb72cac125ee..e0188ecd85b229950c8a8234ec410ef589fa9c45 100644 (file)
@@ -34,7 +34,6 @@ aic79xx-y                                     += aic79xx_osm.o        \
                                                   aic79xx_proc.o       \
                                                   aic79xx_osm_pci.o
 
-ccflags-y += -Idrivers/scsi
 ifdef WARNINGS_BECOME_ERRORS
 ccflags-y += -Werror
 endif
index e6b77993023095c6c505ce8806ea0ee84d17ed2e..a03a6edb00607cafb9bd06510123024b3c1c60c8 100644 (file)
@@ -1,3 +1,2 @@
-ccflags-y += -I.
 obj-$(CONFIG_SCSI_SMARTPQI) += smartpqi.o
 smartpqi-objs := smartpqi_init.o smartpqi_sis.o smartpqi_sas_transport.o