nvmet: fix compilation warnings
Subsystems (3)
Chaitanya Kulkarni
maintainercover nvmet: fix compilation warnings
Hi,
Fixes for compilation warning for target.
-ck
Chaitanya Kulkarni (3):
nvmet-fc: fix compilation warning for register
nvmet-fc: fix compilation warning for unregitser
nvmet-rdma: fix compilation warning
drivers/nvme/target/fc.c | 4 ++-- drivers/nvme/target/rdma.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.29.0
Chaitanya Kulkarni
maintainerPATCH 1/3 nvmet-fc: fix compilation warning for register
This fixes following compilation warning :-
drivers/nvme/target/fc.c:1365: warning: expecting prototype for nvme_fc_register_targetport(). Prototype was for nvmet_fc_register_targetport() instead
--- drivers/nvme/target/fc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/target/fc.c +1 -1
@@ -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
Signature · 1 line
2.29.0
Chaitanya Kulkarni
maintainerPATCH 2/3 nvmet-fc: fix compilation warning for unregitser
In reply to Chaitanya KulkarniThis fixes following compilation warning:-
drivers/nvme/target/fc.c:1619: warning: expecting prototype for nvme_fc_unregister_targetport(). Prototype was for nvmet_fc_unregister_targetport() instead
--- drivers/nvme/target/fc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/target/fc.c +1 -1
@@ -1604,7 +1604,7 @@ nvmet_fc_delete_ctrl(struct nvmet_ctrl *ctrl) }/** -* nvme_fc_unregister_targetport - transport entry point called by an +* nvmet_fc_unregister_targetport - transport entry point called by an * LLDD to deregister/remove a previously * registered a local NVME subsystem FC port. * @target_port: pointer to the (registered) target port that is to be
Signature · 1 line
2.29.0
Chaitanya Kulkarni
maintainerPATCH 3/3 nvmet-rdma: fix compilation warning
In reply to Chaitanya KulkarniThis fixes following compilation warning:-
drivers/nvme/target/rdma.c:1722: warning: expecting prototype for nvme_rdma_device_removal(). Prototype was for nvmet_rdma_device_removal() instead
--- drivers/nvme/target/rdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/target/rdma.c +1 -1
@@ -1703,7 +1703,7 @@ static void nvmet_rdma_queue_connect_fail(struct rdma_cm_id *cm_id, }/** -* nvme_rdma_device_removal() - Handle RDMA device removal +* nvmet_rdma_device_removal() - Handle RDMA device removal * @cm_id: rdma_cm id, used for nvmet port * @queue: nvmet rdma queue (cm id qp_context) *
Signature · 1 line
2.29.0
Jens Axboe
maintainerQuoted 10 lines · Chaitanya Kulkarni
Hi,
Fixes for compilation warning for target.
-ck
Chaitanya Kulkarni (3):
nvmet-fc: fix compilation warning for register
nvmet-fc: fix compilation warning for unregitser
nvmet-rdma: fix compilation warning
Nit - these are kerneldoc warnings, they are not compilation warnings. I would reword those commits.
Signature · 1 line
Jens Axboe
Quoted 7 lines · Jens Axboe
Quoted 6 lines · Chaitanya Kulkarni
Hi,
Fixes for compilation warning for target.
-ck
Quoted 7 lines
Quoted 4 lines
Chaitanya Kulkarni (3):
nvmet-fc: fix compilation warning for register
nvmet-fc: fix compilation warning for unregitser
nvmet-rdma: fix compilation warningNit - these are kerneldoc warnings, they are not compilation warnings. I would reword those commits.
Okay will send out v2, thanks.
-ck