]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] aacraid: correct use of cmd->timeout field
authorJames Bottomley <James.Bottomley@steeleye.com>
Fri, 5 Aug 2005 21:31:35 +0000 (16:31 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Mon, 8 Aug 2005 14:14:37 +0000 (09:14 -0500)
commit3d4deeb71bedbcca35b57461f239f0770c356ce3
tree9acc17c71fd4e6387ea822564214b045858e716e
parent0124a9b0584d94e8d71bab0b462f0229bd35ec5d
[SCSI] aacraid: correct use of cmd->timeout field

The cmd->timeout field has been obsolete for a while now.  While looking
to remove it, I came across this use in the aacraid driver.  It looks
like you want to initialise the firmware with the current timeout of the
command (in seconds), so the value I think you should be using is
cmd->timeout_per_command.

Acked by: Mark Haverkamp <markh@osdl.org>
Acked by: Mark Salyzyn <mark_salyzyn@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aacraid/aachba.c