diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-12-05 15:37:52 +0900 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-12-29 11:24:32 -0600 |
commit | 4d3fef9e69ac002f7531c377970449d1154fe884 (patch) | |
tree | 28d0c87dc161d09e98932c4c254fbe89fbff7a4c | |
parent | ccc607f6d29def18a4c2a4aab31435a784754a64 (diff) | |
download | kernel_goldelico_gta04-4d3fef9e69ac002f7531c377970449d1154fe884.zip kernel_goldelico_gta04-4d3fef9e69ac002f7531c377970449d1154fe884.tar.gz kernel_goldelico_gta04-4d3fef9e69ac002f7531c377970449d1154fe884.tar.bz2 |
[SCSI] scsi_transport_spi: fix the misuse of scsi_execute return value
[jejb: fix rejections]
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r-- | drivers/scsi/scsi_transport_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c index 96361aa..f49f55c 100644 --- a/drivers/scsi/scsi_transport_spi.c +++ b/drivers/scsi/scsi_transport_spi.c @@ -113,7 +113,7 @@ static int spi_execute(struct scsi_device *sdev, const void *cmd, REQ_FAILFAST_TRANSPORT | REQ_FAILFAST_DRIVER, NULL); - if (result & DRIVER_SENSE) { + if (driver_byte(result) & DRIVER_SENSE) { struct scsi_sense_hdr sshdr_tmp; if (!sshdr) sshdr = &sshdr_tmp; |