RDS: IB: mark rds_ib_fmr_wq static
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Sat, 19 Sep 2015 21:21:22 +0000 (17:21 -0400)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 5 Oct 2015 18:19:02 +0000 (11:19 -0700)
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>
net/rds/ib_rdma.c

index 52d889a8b7428ea450374a9bdfb3fcac23c82eed..bb620246b3d61ea55eda02e6d5fead07953198fe 100644 (file)
@@ -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)
 {