Re: [RFC PATCH 00/42] SCSI result cleanup, part 2

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

 



On 4/21/21 10:47 AM, Hannes Reinecke wrote:
My plan here is move every driver to use accessors for the
remaining bytes in the SCSI result, and with that move the
SCSI result over into two separate values.

This patch series modifies scsi_execute() such that it either returns a negative Unix error code or a positive SCSI status value that includes the host byte and status byte. I think that a union is a good way to model such return values. I'd like to use something similar to the scsi_status union from my patch series to model such return values. I think that union is also appropriate as a replacement for the 'result' member of struct scsi_cmnd.

Thanks,

Bart.



[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