Re: [PATCH 4/4] scsi: ncr53c8xx: remove ScsiResult macro

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

 



On Thu, 2018-07-05 at 13:01 +0200, Johannes Thumshirn wrote:
> -		cmd->result = ScsiResult(DID_OK, S_CHECK_COND);
> +		cmd->result = DID_OK << 16 | S_CHECK_COND;

Since DID_OK == 0, do we really need "DID_OK << 16 |" here?

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