diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2007-12-30 19:37:31 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-12 01:29:15 +0100 |
commit | 32e8ae36b8f80372015b88b63c4358a376c9af0f (patch) | |
tree | 9a7211c761b0476216eaf24f0aebd7ced7945a37 /drivers/scsi/sr.h | |
parent | [SCSI] libsas, bsg: pass errors through correctly (diff) | |
download | linux-32e8ae36b8f80372015b88b63c4358a376c9af0f.tar.xz linux-32e8ae36b8f80372015b88b63c4358a376c9af0f.zip |
[SCSI] libsas: don't use made up error codes
This is bad for two reasons:
1. If they're returned to outside applications, no-one knows what
they mean.
2. Eventually they'll clash with the ever expanding standard error
codes.
The problem error code in question is ETASK. I've replaced this by
ECOMM (communications error on send) a network error code that seems to
most closely relay what ETASK meant.
Acked-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/sr.h')
0 files changed, 0 insertions, 0 deletions