diff options
author | Bart Van Assche <bvanassche@acm.org> | 2018-10-08 23:28:53 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-10-17 08:58:27 +0200 |
commit | 0d3ebdec9394c984f3aa59ea97541f2243952b55 (patch) | |
tree | a23e8f728e2a81f047719cdef137e59648e13bbe /drivers/nvme/target/rdma.c | |
parent | nvmet: use strlcpy() instead of strcpy() (diff) | |
download | linux-0d3ebdec9394c984f3aa59ea97541f2243952b55.tar.xz linux-0d3ebdec9394c984f3aa59ea97541f2243952b55.zip |
nvmet-rdma: declare local symbols static
This patch avoids that sparse complains about missing declarations.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target/rdma.c')
-rw-r--r-- | drivers/nvme/target/rdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/target/rdma.c b/drivers/nvme/target/rdma.c index 5becca88ccbe..bd265aceb90c 100644 --- a/drivers/nvme/target/rdma.c +++ b/drivers/nvme/target/rdma.c @@ -122,7 +122,7 @@ struct nvmet_rdma_device { int inline_page_count; }; -struct workqueue_struct *nvmet_rdma_delete_wq; +static struct workqueue_struct *nvmet_rdma_delete_wq; static bool nvmet_rdma_use_srq; module_param_named(use_srq, nvmet_rdma_use_srq, bool, 0444); MODULE_PARM_DESC(use_srq, "Use shared receive queue."); |