Re: [PATCH 40/40] scsi: drop obsolete linux-specific SCSI status codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/29/21 8:48 AM, Christoph Hellwig wrote:
> On Tue, Apr 27, 2021 at 10:30:46AM +0200, Hannes Reinecke wrote:
>> +/*
>> + *  Original linux SCSI Status codes. They are shifted 1 bit right
>> + *  from those found in the SCSI standards.
>> + */
>> +
>> +#define GOOD                 0x00
>> +#define CHECK_CONDITION      0x01
>> +#define CONDITION_GOOD       0x02
>> +#define BUSY                 0x04
>> +#define INTERMEDIATE_GOOD    0x08
>> +#define INTERMEDIATE_C_GOOD  0x0a
>> +#define RESERVATION_CONFLICT 0x0c
>> +#define COMMAND_TERMINATED   0x11
>> +#define QUEUE_FULL           0x14
>> +#define ACA_ACTIVE           0x18
>> +#define TASK_ABORTED         0x20
> 
> I don't think there is any need to keep defining them, is there?
> 
Probably not. I'll drop them for the next round.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		           Kernel Storage Architect
hare@xxxxxxx			                  +49 911 74053 688
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), GF: Felix Imendörffer



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux