From: Christoph Hellwig Date: Wed, 14 Nov 2018 15:46:23 +0000 (+0100) Subject: nvmet: mark nvmet_genctr static X-Git-Tag: v5.15~7255^2~120 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03198c4d9fc8e72ba8a5ad74959b61de7f2780a6;p=platform%2Fkernel%2Flinux-starfive.git nvmet: mark nvmet_genctr static Signed-off-by: Christoph Hellwig Reviewed-by: Sagi Grimberg Signed-off-by: Jens Axboe --- diff --git a/drivers/nvme/target/discovery.c b/drivers/nvme/target/discovery.c index eb45ebc..4d8757a 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) diff --git a/drivers/nvme/target/nvmet.h b/drivers/nvme/target/nvmet.h index 3147494..03988fe 100644 --- a/drivers/nvme/target/nvmet.h +++ b/drivers/nvme/target/nvmet.h @@ -470,7 +470,6 @@ int __init nvmet_init_discovery(void); void nvmet_exit_discovery(void); extern struct nvmet_subsys *nvmet_disc_subsys; -extern u64 nvmet_genctr; extern struct rw_semaphore nvmet_config_sem; extern u32 nvmet_ana_group_enabled[NVMET_MAX_ANAGRPS + 1];