OSDN Git Service

nvmet: mark nvmet_ana_state static
authorChristoph Hellwig <hch@lst.de>
Tue, 12 May 2020 16:19:13 +0000 (18:19 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 27 May 2020 05:12:36 +0000 (07:12 +0200)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
drivers/nvme/target/configfs.c

index 19bd5e1..24eb4cf 100644 (file)
@@ -1146,7 +1146,7 @@ static const struct config_item_type nvmet_referrals_type = {
        .ct_group_ops   = &nvmet_referral_group_ops,
 };
 
-struct nvmet_type_name_map nvmet_ana_state[] = {
+static struct nvmet_type_name_map nvmet_ana_state[] = {
        { NVME_ANA_OPTIMIZED,           "optimized" },
        { NVME_ANA_NONOPTIMIZED,        "non-optimized" },
        { NVME_ANA_INACCESSIBLE,        "inaccessible" },