[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200918.145532.864791412975263953.davem@davemloft.net>
Date: Fri, 18 Sep 2020 14:55:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wanghai38@...wei.com
Cc: yisen.zhuang@...wei.com, salil.mehta@...wei.com, kuba@...nel.org,
tanhuazhong@...wei.com, liaoguojia@...wei.com,
liuyonglong@...wei.com, linyunsheng@...wei.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: hns3: Supply missing hclge_dcb.h include
file
From: Wang Hai <wanghai38@...wei.com>
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@...wei.com>
Applied.
Powered by blists - more mailing lists