Re: [PATCH] crypto: bcm: remove -I. header search path and unused macro define

From: Herbert Xu
Date: Fri Feb 01 2019 - 01:51:24 EST


On Fri, Jan 25, 2019 at 03:07:48PM +0900, Masahiro Yamada wrote:
> The header search path -I. in kernel Makefiles is very suspicious;
> it allows the compiler to search for headers in the top of $(srctree),
> where obviously no header file exists.
>
> 'git grep BCMDRIVER' has no hit. So, this macro is not referenced.
>
> I was able to build this driver without the extra compiler options.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> ---
>
> drivers/crypto/bcm/Makefile | 2 --
> 1 file changed, 2 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt