summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2014-08-29 18:19:29 +0200
committerRoland Dreier <roland@purestorage.com>2014-10-14 09:34:08 +0200
commit65d4c01af0f5b394a33848bc27c4331e2959dfd5 (patch)
tree6a7e284e089af12e1646dac0c2a7272d64c650df /drivers/infiniband
parentLinux 3.17-rc7 (diff)
downloadlinux-65d4c01af0f5b394a33848bc27c4331e2959dfd5.tar.xz
linux-65d4c01af0f5b394a33848bc27c4331e2959dfd5.zip
RDMA/cxgb4: Make c4iw_wr_log_size_order static
This fixes a sparse warning. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/cxgb4/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c
index f25df5276c22..72f1f052e88c 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.");