summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2023-10-17 11:09:13 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2023-10-24 22:23:05 -0400
commit96f41cddbc7baf1a96a388693dcfac0051db070d (patch)
tree27b9fd0d67803941ec90e70690cd65e184b8daeb /drivers/target
parent9e1c911ecbbc92ebdae4aa69cf7691cf792ba32d (diff)
downloadlinux-96f41cddbc7baf1a96a388693dcfac0051db070d.tar.gz
linux-96f41cddbc7baf1a96a388693dcfac0051db070d.tar.bz2
linux-96f41cddbc7baf1a96a388693dcfac0051db070d.zip
scsi: target: core: Fix kernel-doc comment
Fix kernel-doc comment to silence the warnings: drivers/target/target_core_transport.c:1930: warning: Excess function parameter 'cmd' description in 'target_submit' drivers/target/target_core_transport.c:1930: warning: Function parameter or member 'se_cmd' not described in 'target_submit' Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6844 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Link: https://lore.kernel.org/r/20231017030913.89973-1-yang.lee@linux.alibaba.com Reviewed-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index c81def3c96df..670cfb7bd426 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -1921,7 +1921,7 @@ static void target_queue_submission(struct se_cmd *se_cmd)
/**
* target_submit - perform final initialization and submit cmd to LIO core
- * @cmd: command descriptor to submit
+ * @se_cmd: command descriptor to submit
*
* target_submit_prep or something similar must have been called on the cmd,
* and this must be called from process context.