diff options
Diffstat (limited to 'drivers/scsi/scsi_transport_spi.c')
-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 96361aa70906..f49f55c6bfc8 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, | |||
113 | REQ_FAILFAST_TRANSPORT | | 113 | REQ_FAILFAST_TRANSPORT | |
114 | REQ_FAILFAST_DRIVER, | 114 | REQ_FAILFAST_DRIVER, |
115 | NULL); | 115 | NULL); |
116 | if (result & DRIVER_SENSE) { | 116 | if (driver_byte(result) & DRIVER_SENSE) { |
117 | struct scsi_sense_hdr sshdr_tmp; | 117 | struct scsi_sense_hdr sshdr_tmp; |
118 | if (!sshdr) | 118 | if (!sshdr) |
119 | sshdr = &sshdr_tmp; | 119 | sshdr = &sshdr_tmp; |