Skip to content

Commit 422969b

Browse files
bvanasschemartinkpetersen
authored andcommitted
scsi: core: Fix the documentation of the scsi_execute() time parameter
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. Link: https://lore.kernel.org/r/[email protected] Fixes: "[SCSI] use scatter lists for all block pc requests and simplify hw handlers" # v2.6.16.28 Cc: "James E.J. Bottomley" <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Ming Lei <[email protected]> Cc: John Garry <[email protected]> Reviewed-by: Avri Altman <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent e73f0f0 commit 422969b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/scsi_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ void scsi_queue_insert(struct scsi_cmnd *cmd, int reason)
194194
* @bufflen: len of buffer
195195
* @sense: optional sense buffer
196196
* @sshdr: optional decoded sense header
197-
* @timeout: request timeout in seconds
197+
* @timeout: request timeout in HZ
198198
* @retries: number of times to retry request
199199
* @flags: flags for ->cmd_flags
200200
* @rq_flags: flags for ->rq_flags

0 commit comments

Comments
 (0)