[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f7209360006203a0f93eb50962d7274f1226f0b6.camel@kernel.org>
Date: Fri, 18 Sep 2020 10:43:34 -0700
From: Saeed Mahameed <saeed@...nel.org>
To: Wang Hai <wanghai38@...wei.com>, yisen.zhuang@...wei.com,
salil.mehta@...wei.com, davem@...emloft.net, kuba@...nel.org,
tanhuazhong@...wei.com, liaoguojia@...wei.com,
liuyonglong@...wei.com, linyunsheng@...wei.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: hns3: Supply missing hclge_dcb.h include
file
On Fri, 2020-09-18 at 21:06 +0800, Wang Hai wrote:
> 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@...wei.com>
> ---
Reviewed-by: Saeed Mahameed <saeedm@...dia.com>
Powered by blists - more mailing lists