RE: [PATCH 01/21] Fix the documentation of the scsi_execute() time parameter
From: Avri Altman <Avri.Altman@wdc.com>
Date: 2021-07-05 05:51:28
The unit of the scsi_execute() timeout parameter is 1/HZ seconds instead of one second, just like the timeouts used in the block layer. Fix the documentation header above the definition of the scsi_execute() macro. Cc: "James E.J. Bottomley" <redacted> Cc: Hannes Reinecke <hare@suse.de> Cc: Ming Lei <redacted> Cc: John Garry <redacted> Fixes: "[SCSI] use scatter lists for all block pc requests and simplify hw handlers" # v2.6.16.28 Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
quoted hunk ↗ jump to hunk
--- drivers/scsi/scsi_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 7184f93dfe15..4b56e06faa5e 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c@@ -194,7 +194,7 @@ void scsi_queue_insert(struct scsi_cmnd *cmd, intreason) * @bufflen: len of buffer * @sense: optional sense buffer * @sshdr: optional decoded sense header - * @timeout: request timeout in seconds + * @timeout: request timeout in HZ * @retries: number of times to retry request * @flags: flags for ->cmd_flags * @rq_flags: flags for ->rq_flags