[1/2] infiniband: remove unneeded header search paths
diff mbox series

Message ID 1548391171-6407-2-git-send-email-yamada.masahiro@socionext.com
State New
Headers show
Series
  • infiniband: trivial header search path fixups
Related show

Commit Message

Masahiro Yamada Jan. 25, 2019, 4:39 a.m. UTC
The included headers are located in include/target/. I was able to
build these drivers without the extra header search paths.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/infiniband/ulp/isert/Makefile | 1 -
 drivers/infiniband/ulp/srpt/Makefile  | 1 -
 2 files changed, 2 deletions(-)

Comments

Bart Van Assche Jan. 25, 2019, 5:27 a.m. UTC | #1
On 1/24/19 8:39 PM, Masahiro Yamada wrote:
> The included headers are located in include/target/. I was able to
> build these drivers without the extra header search paths.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
> 
>   drivers/infiniband/ulp/isert/Makefile | 1 -
>   drivers/infiniband/ulp/srpt/Makefile  | 1 -
>   2 files changed, 2 deletions(-)
> 
> diff --git a/drivers/infiniband/ulp/isert/Makefile b/drivers/infiniband/ulp/isert/Makefile
> index c8bf242..a4a4766 100644
> --- a/drivers/infiniband/ulp/isert/Makefile
> +++ b/drivers/infiniband/ulp/isert/Makefile
> @@ -1,2 +1 @@
> -ccflags-y		:= -Idrivers/target -Idrivers/target/iscsi
>   obj-$(CONFIG_INFINIBAND_ISERT)	+= ib_isert.o
> diff --git a/drivers/infiniband/ulp/srpt/Makefile b/drivers/infiniband/ulp/srpt/Makefile
> index e3ee4bd..43fbde4 100644
> --- a/drivers/infiniband/ulp/srpt/Makefile
> +++ b/drivers/infiniband/ulp/srpt/Makefile
> @@ -1,2 +1 @@
> -ccflags-y			:= -Idrivers/target
>   obj-$(CONFIG_INFINIBAND_SRPT)	+= ib_srpt.o

Reviewed-by: Bart Van Assche <bvanassche@acm.org>

Patch
diff mbox series

diff --git a/drivers/infiniband/ulp/isert/Makefile b/drivers/infiniband/ulp/isert/Makefile
index c8bf242..a4a4766 100644
--- a/drivers/infiniband/ulp/isert/Makefile
+++ b/drivers/infiniband/ulp/isert/Makefile
@@ -1,2 +1 @@ 
-ccflags-y		:= -Idrivers/target -Idrivers/target/iscsi
 obj-$(CONFIG_INFINIBAND_ISERT)	+= ib_isert.o
diff --git a/drivers/infiniband/ulp/srpt/Makefile b/drivers/infiniband/ulp/srpt/Makefile
index e3ee4bd..43fbde4 100644
--- a/drivers/infiniband/ulp/srpt/Makefile
+++ b/drivers/infiniband/ulp/srpt/Makefile
@@ -1,2 +1 @@ 
-ccflags-y			:= -Idrivers/target
 obj-$(CONFIG_INFINIBAND_SRPT)	+= ib_srpt.o