nvmet-fc: fix kernel-doc warning for nvmet_fc_register_targetport
authorChaitanya Kulkarni <kch@nvidia.com>
Wed, 9 Mar 2022 05:59:25 +0000 (21:59 -0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 14 Mar 2022 07:43:06 +0000 (08:43 +0100)
This fixes following kernel-doc warning :-

drivers/nvme/target/fc.c:1365: warning: expecting prototype for nvme_fc_register_targetport(). Prototype was for nvmet_fc_register_targetport() instead

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/fc.c

index cb01351..56c2bdf 100644 (file)
@@ -1341,7 +1341,7 @@ nvmet_fc_portentry_rebind_tgt(struct nvmet_fc_tgtport *tgtport)
 }
 
 /**
- * nvme_fc_register_targetport - transport entry point called by an
+ * nvmet_fc_register_targetport - transport entry point called by an
  *                              LLDD to register the existence of a local
  *                              NVME subystem FC port.
  * @pinfo:     pointer to information about the port to be registered