Re: [PATCH net] net: hns3: fix compile error

From: David Miller
Date: Thu Mar 28 2019 - 01:48:15 EST


From: Xi Wang <wangxi11@xxxxxxxxxx>
Date: Tue, 26 Mar 2019 14:53:49 +0800

> Currently, the rules for configuring search paths in Kbuild have
> changed, this will lead some erros when compiling hns3 with the
> following command:
>
> make O=DIR M=drivers/net/ethernet/hisilicon/hns3
>
> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c:11:10:
> fatal error: hnae3.h: No such file or directory
>
> This patch fix it by adding $(srctree)/ prefix to the serach paths.
>
> Signed-off-by: Xi Wang <wangxi11@xxxxxxxxxx>

Applied.