Re: [PATCH net-next] net: hns3: Supply missing hclge_dcb.h include file
From: David Miller
Date: Fri Sep 18 2020 - 17:55:35 EST
From: Wang Hai <wanghai38@xxxxxxxxxx>
Date: Fri, 18 Sep 2020 21:06:53 +0800
> If the header file containing a function's prototype isn't included by
> the sourcefile containing the associated function, the build system
> complains of missing prototypes.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c:453:6: warning: no previous prototype for ʽhclge_dcb_ops_setʼ [-Wmissing-prototypes]
>
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
Applied.