* [amirv:for-upstream 115/141] drivers/infiniband/ulp/ipoib/ipoib_ib.c:424:5: sparse: symbol 'ipoib_tx_poll' was not declared. Should it be static?
@ 2015-03-25 16:04 kbuild test robot
2015-03-25 16:04 ` [PATCH amirv] IB/ipoib: Use napi api in TX flow [ib-next: ipoib_tx_poll() can be static kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-03-25 16:04 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: c87f933e10ff036c0e13a9cbccd5f5c4671bcd01 [115/141] IB/ipoib: Use napi api in TX flow [ib-next:ipoib-s1]
reproduce:
# apt-get install sparse
git checkout c87f933e10ff036c0e13a9cbccd5f5c4671bcd01
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?
>> drivers/infiniband/ulp/ipoib/ipoib_ib.c:424:5: sparse: symbol 'ipoib_tx_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: Use napi api in TX flow [ib-next: ipoib_tx_poll() can be static
2015-03-25 16:04 [amirv:for-upstream 115/141] drivers/infiniband/ulp/ipoib/ipoib_ib.c:424:5: sparse: symbol 'ipoib_tx_poll' was not declared. Should it be static? kbuild test robot
@ 2015-03-25 16:04 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-03-25 16:04 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 8b7584a..57ce990 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_ib.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_ib.c
@@ -421,7 +421,7 @@ poll_more:
return done;
}
-int ipoib_tx_poll(struct napi_struct *napi, int budget)
+static int ipoib_tx_poll(struct napi_struct *napi, int budget)
{
struct net_device *dev;
int n, i;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-25 16:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 16:04 [amirv:for-upstream 115/141] drivers/infiniband/ulp/ipoib/ipoib_ib.c:424:5: sparse: symbol 'ipoib_tx_poll' was not declared. Should it be static? kbuild test robot
2015-03-25 16:04 ` [PATCH amirv] IB/ipoib: Use napi api in TX flow [ib-next: ipoib_tx_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
all inboxes | Powered by JetHome®