summaryrefslogtreecommitdiff
path: root/drivers/nvme/target/discovery.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-14 16:46:23 +0100
committerJens Axboe <axboe@kernel.dk>2018-12-07 22:26:57 -0700
commit03198c4d9fc8e72ba8a5ad74959b61de7f2780a6 (patch)
tree5cd644a732dd5e7645f90550ce7b8add6c577b31 /drivers/nvme/target/discovery.c
parentb662a078576e7d6e235b4e1b94863f0474cd8555 (diff)
nvmet: mark nvmet_genctr static
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/target/discovery.c')
-rw-r--r--drivers/nvme/target/discovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/target/discovery.c b/drivers/nvme/target/discovery.c
index eb45ebc3ac2c..4d8757ae8210 100644
--- a/drivers/nvme/target/discovery.c
+++ b/drivers/nvme/target/discovery.c
@@ -18,7 +18,7 @@
struct nvmet_subsys *nvmet_disc_subsys;
-u64 nvmet_genctr;
+static u64 nvmet_genctr;
static void __nvmet_disc_changed(struct nvmet_port *port,
struct nvmet_ctrl *ctrl)