]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] use one-element sg list in scsi_send_eh_cmnd
authorChristoph Hellwig <hch@lst.de>
Sat, 4 Nov 2006 19:04:21 +0000 (20:04 +0100)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 15 Nov 2006 18:55:52 +0000 (12:55 -0600)
commit0b31ad55477cae1113dca90b3eb249a8bf17efbb
treed3d1e28c508d12cbf7bba95cea39cad6f8745a1b
parent0ca7f77b899d01b16f22b0484d9d0662544624a7
[SCSI] use one-element sg list in scsi_send_eh_cmnd

scsi_send_eh_cmnd is the last user of non-sg commands currently.
This patch switches it to a one-element SG list.  Also updates the
kerneldoc comment for scsi_send_eh_cmnd to reflect reality while we're
at it.

Test on my mptsas card, but this should get testing with as many
drivers as possible.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_error.c