* [PATCH -next] RDMA/cxgb4: Fix sparse non static symbol warning
@ 2014-07-28 13:18 weiyj_lk-9Onoh4P/yGk
[not found] ` <1406553513-29849-1-git-send-email-weiyj_lk-9Onoh4P/yGk@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: weiyj_lk-9Onoh4P/yGk @ 2014-07-28 13:18 UTC (permalink / raw)
To: Steve Wise, Roland Dreier, Sean Hefty, Hal Rosenstock,
Hariprasad Shenai
Cc: Wei Yongjun, linux-rdma-u79uwXL29TY76Z2rM5mHXA
From: Wei Yongjun <yongjun_wei-zrsr2BFq86L20UzCJQGyNP8+0UxHXcjY@public.gmane.org>
Fixes the following sparse warnings:
drivers/infiniband/hw/cxgb4/device.c:63:5: warning:
symbol 'c4iw_wr_log_size_order' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <yongjun_wei-zrsr2BFq86L20UzCJQGyNP8+0UxHXcjY@public.gmane.org>
---
drivers/infiniband/hw/cxgb4/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c
index f25df52..72f1f05 100644
--- a/drivers/infiniband/hw/cxgb4/device.c
+++ b/drivers/infiniband/hw/cxgb4/device.c
@@ -60,7 +60,7 @@ int c4iw_wr_log = 0;
module_param(c4iw_wr_log, int, 0444);
MODULE_PARM_DESC(c4iw_wr_log, "Enables logging of work request timing data.");
-int c4iw_wr_log_size_order = 12;
+static int c4iw_wr_log_size_order = 12;
module_param(c4iw_wr_log_size_order, int, 0444);
MODULE_PARM_DESC(c4iw_wr_log_size_order,
"Number of entries (log2) in the work request timing log.");
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH -next] RDMA/cxgb4: Fix sparse non static symbol warning
[not found] ` <1406553513-29849-1-git-send-email-weiyj_lk-9Onoh4P/yGk@public.gmane.org>
@ 2014-07-28 14:50 ` Steve Wise
0 siblings, 0 replies; 2+ messages in thread
From: Steve Wise @ 2014-07-28 14:50 UTC (permalink / raw)
To: weiyj_lk-9Onoh4P/yGk, 'Steve Wise',
'Roland Dreier', 'Sean Hefty',
'Hal Rosenstock', 'Hariprasad Shenai'
Cc: 'Wei Yongjun', linux-rdma-u79uwXL29TY76Z2rM5mHXA
Acked-by: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-28 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-28 13:18 [PATCH -next] RDMA/cxgb4: Fix sparse non static symbol warning weiyj_lk-9Onoh4P/yGk
[not found] ` <1406553513-29849-1-git-send-email-weiyj_lk-9Onoh4P/yGk@public.gmane.org>
2014-07-28 14:50 ` Steve Wise
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox