* [amirv:for-upstream 114/141] drivers/infiniband/ulp/ipoib/ipoib_ib.c:378:5: sparse: symbol 'ipoib_rx_poll' was not declared. Should it be static?
@ 2015-03-25 15:53 kbuild test robot
2015-03-25 15:53 ` [PATCH amirv] IB/ipoib: Prepare the napi in the RX flow [ib-next: ipoib_rx_poll() can be static kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-03-25 15:53 UTC (permalink / raw)
To: Erez Shitrit
Cc: kbuild-all, Roland Dreier, Sean Hefty, Hal Rosenstock,
Doug Ledford, Alex Estrin, Or Gerlitz, linux-rdma, linux-kernel
tree: git://flatbed.openfabrics.org/~amirv/linux.git for-upstream
head: fbf635aeba2bba8091d58dc9d4180c04e9dd01f0
commit: 94de75f9589d7899b441457e0d2ff9a66d1fa3b4 [114/141] IB/ipoib: Prepare the napi in the RX flow [ib-next:ipoib-s1]
reproduce:
# apt-get install sparse
git checkout 94de75f9589d7899b441457e0d2ff9a66d1fa3b4
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> drivers/infiniband/ulp/ipoib/ipoib_ib.c:378:5: sparse: symbol 'ipoib_rx_poll' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH amirv] IB/ipoib: Prepare the napi in the RX flow [ib-next: ipoib_rx_poll() can be static
2015-03-25 15:53 [amirv:for-upstream 114/141] drivers/infiniband/ulp/ipoib/ipoib_ib.c:378:5: sparse: symbol 'ipoib_rx_poll' was not declared. Should it be static? kbuild test robot
@ 2015-03-25 15:53 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-03-25 15:53 UTC (permalink / raw)
To: Erez Shitrit
Cc: kbuild-all, Roland Dreier, Sean Hefty, Hal Rosenstock,
Doug Ledford, Alex Estrin, Or Gerlitz, linux-rdma, linux-kernel
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
ipoib_ib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_ib.c b/drivers/infiniband/ulp/ipoib/ipoib_ib.c
index af52a01..8f31a93 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_ib.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_ib.c
@@ -375,7 +375,7 @@ static int poll_tx(struct ipoib_dev_priv *priv)
return n == MAX_SEND_CQE;
}
-int ipoib_rx_poll(struct napi_struct *napi, int budget)
+static int ipoib_rx_poll(struct napi_struct *napi, int budget)
{
struct ipoib_dev_priv *priv = container_of(napi, struct ipoib_dev_priv, napi_rx);
struct net_device *dev = priv->dev;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-25 15:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-25 15:53 [amirv:for-upstream 114/141] drivers/infiniband/ulp/ipoib/ipoib_ib.c:378:5: sparse: symbol 'ipoib_rx_poll' was not declared. Should it be static? kbuild test robot
2015-03-25 15:53 ` [PATCH amirv] IB/ipoib: Prepare the napi in the RX flow [ib-next: ipoib_rx_poll() can be static kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox