diff options
| author | Hannes Reinecke <hare@suse.de> | 2013-07-01 09:16:24 -0400 |
|---|---|---|
| committer | James Bottomley <JBottomley@Parallels.com> | 2013-08-23 12:34:56 -0400 |
| commit | 87f14e658f664a17dcdb38d3f6ae70642fcdc263 (patch) | |
| tree | 4ccf6e9a3c91c641d0cb6900f217a49f09960451 /include/scsi | |
| parent | 0f7f6234d360341d74cfd6e77fcb315daf9905fd (diff) | |
[SCSI] Set hostbyte status in scsi_check_sense()
We should be modifying the host_byte status in scsi_check_sense()
directly; this saves us to introduce a special return code for
each and every condition.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
| -rw-r--r-- | include/scsi/scsi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 4b87d99e7fa1..e4cd3e975538 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h | |||
| @@ -486,7 +486,6 @@ static inline int scsi_is_wlun(unsigned int lun) | |||
| 486 | #define TIMEOUT_ERROR 0x2007 | 486 | #define TIMEOUT_ERROR 0x2007 |
| 487 | #define SCSI_RETURN_NOT_HANDLED 0x2008 | 487 | #define SCSI_RETURN_NOT_HANDLED 0x2008 |
| 488 | #define FAST_IO_FAIL 0x2009 | 488 | #define FAST_IO_FAIL 0x2009 |
| 489 | #define TARGET_ERROR 0x200A | ||
| 490 | 489 | ||
| 491 | /* | 490 | /* |
| 492 | * Midlevel queue return values. | 491 | * Midlevel queue return values. |
