Re: [VERY EARLY RFC 12/13] reewide: introduce clear_scsi_result() and convert drivers

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

 



On Wed, 18 Apr 2018 17:01:15 +0200
Johannes Thumshirn <jthumshirn@xxxxxxx> wrote:

> Introduce clear_scsi_result() and convert drivers over to use the new
> function.
> 

[ .. ]

Why not use 'set_scsi_result' here?
Basically everywhere the usage pattern is

clear_scsi_result()
set_host_byte()

so they can be collapsed into

set_scsi_result(cmd, 0, host_byte, 0, 0)

and this helper can be dropped.

Cheers,

Hannes




[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