Re: [PATCH] bsg: return SAM device status code

2007-02-23 Thread Douglas Gilbert
Pete Wyckoff wrote: > Use the status codes from the standard, not the shifted-by-one codes > that are marked deprecated in scsi.h. This makes bsg v4 status > report the same value as sg v3 status too. Pete, Good pick up. We certainly don't want to re-introduce the SCSI status byte shift from the

[PATCH] bsg: return SAM device status code

2007-02-23 Thread Pete Wyckoff
Use the status codes from the standard, not the shifted-by-one codes that are marked deprecated in scsi.h. This makes bsg v4 status report the same value as sg v3 status too. Signed-off-by: Pete Wyckoff <[EMAIL PROTECTED]> --- block/bsg.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(