Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yang Li and committed by
Martin K. Petersen
96f41cdd 9e1c911e

+1 -1
+1 -1
drivers/target/target_core_transport.c
··· 1921 1921 1922 1922 /** 1923 1923 * target_submit - perform final initialization and submit cmd to LIO core 1924 - * @cmd: command descriptor to submit 1924 + * @se_cmd: command descriptor to submit 1925 1925 * 1926 1926 * target_submit_prep or something similar must have been called on the cmd, 1927 1927 * and this must be called from process context.