Commit 0addfa58 authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi: initio: Fix a kernel-doc warning

Fix the following kernel-doc warning:

drivers/scsi/initio.c:2613: warning: Excess function parameter 'done' description in 'i91u_queuecommand_lck'

Link: https://lore.kernel.org/r/20211129194609.3466071-9-bvanassche@acm.org
Fixes: af049dfd ("scsi: core: Remove the 'done' argument from SCSI queuecommand_lck functions")
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 013d14ea
...@@ -2602,13 +2602,11 @@ static void initio_build_scb(struct initio_host * host, struct scsi_ctrl_blk * c ...@@ -2602,13 +2602,11 @@ static void initio_build_scb(struct initio_host * host, struct scsi_ctrl_blk * c
/** /**
* i91u_queuecommand_lck - Queue a new command if possible * i91u_queuecommand_lck - Queue a new command if possible
* @cmd: SCSI command block from the mid layer * @cmd: SCSI command block from the mid layer
* @done: Completion handler
* *
* Attempts to queue a new command with the host adapter. Will return * Attempts to queue a new command with the host adapter. Will return
* zero if successful or indicate a host busy condition if not (which * zero if successful or indicate a host busy condition if not (which
* will cause the mid layer to call us again later with the command) * will cause the mid layer to call us again later with the command)
*/ */
static int i91u_queuecommand_lck(struct scsi_cmnd *cmd) static int i91u_queuecommand_lck(struct scsi_cmnd *cmd)
{ {
struct initio_host *host = (struct initio_host *) cmd->device->host->hostdata; struct initio_host *host = (struct initio_host *) cmd->device->host->hostdata;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment