summaryrefslogtreecommitdiffstats
path: root/net/rds/ib_rdma.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>2015-09-19 23:21:22 +0200
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2015-10-05 20:19:02 +0200
commit67161e250a28de5cdafa99a3b659b1e2e269fd7e (patch)
tree0a08be128ef6eeb7b2a5a3fa41a1bf1aa6ba0236 /net/rds/ib_rdma.c
parentRDS: IB: use already available pool handle from ibmr (diff)
downloadlinux-67161e250a28de5cdafa99a3b659b1e2e269fd7e.tar.xz
linux-67161e250a28de5cdafa99a3b659b1e2e269fd7e.zip
RDS: IB: mark rds_ib_fmr_wq static
Fix below warning by marking rds_ib_fmr_wq static net/rds/ib_rdma.c:87:25: warning: symbol 'rds_ib_fmr_wq' was not declared. Should it be static? Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'net/rds/ib_rdma.c')
-rw-r--r--net/rds/ib_rdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/ib_rdma.c b/net/rds/ib_rdma.c
index 52d889a8b742..bb620246b3d6 100644
--- a/net/rds/ib_rdma.c
+++ b/net/rds/ib_rdma.c
@@ -83,7 +83,7 @@ struct rds_ib_mr_pool {
struct ib_fmr_attr fmr_attr;
};
-struct workqueue_struct *rds_ib_fmr_wq;
+static struct workqueue_struct *rds_ib_fmr_wq;
int rds_ib_fmr_init(void)
{