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

scsi: dc395x: Fix a kernel-doc warning

Fix the following kernel-doc warning:

drivers/scsi/dc395x.c:964: warning: Excess function parameter 'done' description in 'dc395x_queue_command_lck'

Link: https://lore.kernel.org/r/20211129194609.3466071-8-bvanassche@acm.org
Fixes: af049dfd0b10 ("scsi: core: Remove the 'done' argument from SCSI queuecommand_lck functions")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bart Van Assche and committed by
Martin K. Petersen
013d14ea 69e62379

+1 -2
+1 -2
drivers/scsi/dc395x.c
··· 946 946 * layer, invoke 'done' on completion 947 947 * 948 948 * @cmd: pointer to scsi command object 949 - * @done: function pointer to be invoked on completion 950 949 * 951 950 * Returns 1 if the adapter (host) is busy, else returns 0. One 952 951 * reason for an adapter to be busy is that the number ··· 958 959 * Locks: struct Scsi_Host::host_lock held on entry (with "irqsave") 959 960 * and is expected to be held on return. 960 961 * 961 - **/ 962 + */ 962 963 static int dc395x_queue_command_lck(struct scsi_cmnd *cmd) 963 964 { 964 965 void (*done)(struct scsi_cmnd *) = scsi_done;