* [net-next:master 1115/1116] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:82:5: sparse: symbol 'hclge_inform_reset_assert_to_vf' was not declared. Should it be static?
@ 2018-03-22 21:31 kbuild test robot
2018-03-22 21:31 ` [RFC PATCH net-next] net: hns3: hclge_inform_reset_assert_to_vf() can be static kbuild test robot
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2018-03-22 21:31 UTC (permalink / raw)
To: Salil Mehta
Cc: kbuild-all, netdev, Yisen Zhuang, Peng Li, Fuyun Liang,
Jian Shen, Yunsheng Lin, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: 6686c459e1449a3ee5f3fd313b0a559ace7a700e
commit: 2bfbd35d8ecd97a4a7f1db1754908b54542fa7aa [1115/1116] net: hns3: Changes required in PF mailbox to support VF reset
reproduce:
# apt-get install sparse
git checkout 2bfbd35d8ecd97a4a7f1db1754908b54542fa7aa
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:82:5: sparse: symbol 'hclge_inform_reset_assert_to_vf' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 3+ messages in thread
* [RFC PATCH net-next] net: hns3: hclge_inform_reset_assert_to_vf() can be static
2018-03-22 21:31 [net-next:master 1115/1116] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:82:5: sparse: symbol 'hclge_inform_reset_assert_to_vf' was not declared. Should it be static? kbuild test robot
@ 2018-03-22 21:31 ` kbuild test robot
2018-03-23 17:18 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2018-03-22 21:31 UTC (permalink / raw)
To: Salil Mehta
Cc: kbuild-all, netdev, Yisen Zhuang, Peng Li, Fuyun Liang,
Jian Shen, Yunsheng Lin, linux-kernel
Fixes: 2bfbd35d8ecd ("net: hns3: Changes required in PF mailbox to support VF reset")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
hclge_mbx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
index 3901333..a6f7ffa 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
@@ -79,7 +79,7 @@ static int hclge_send_mbx_msg(struct hclge_vport *vport, u8 *msg, u16 msg_len,
return status;
}
-int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport)
+static int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport)
{
u8 msg_data[2];
u8 dest_vfid;
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [RFC PATCH net-next] net: hns3: hclge_inform_reset_assert_to_vf() can be static
2018-03-22 21:31 ` [RFC PATCH net-next] net: hns3: hclge_inform_reset_assert_to_vf() can be static kbuild test robot
@ 2018-03-23 17:18 ` David Miller
0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2018-03-23 17:18 UTC (permalink / raw)
To: fengguang.wu
Cc: salil.mehta, kbuild-all, netdev, yisen.zhuang, lipeng321,
liangfuyun1, shenjian15, linyunsheng, linux-kernel
From: kbuild test robot <fengguang.wu@intel.com>
Date: Fri, 23 Mar 2018 05:31:07 +0800
>
> Fixes: 2bfbd35d8ecd ("net: hns3: Changes required in PF mailbox to support VF reset")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-23 17:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-22 21:31 [net-next:master 1115/1116] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:82:5: sparse: symbol 'hclge_inform_reset_assert_to_vf' was not declared. Should it be static? kbuild test robot
2018-03-22 21:31 ` [RFC PATCH net-next] net: hns3: hclge_inform_reset_assert_to_vf() can be static kbuild test robot
2018-03-23 17:18 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).