lkml.org 
[lkml]   [2018]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/4] scsi: ncr53c8xx: remove ScsiResult macro
Date
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.



\
 
 \ /
  Last update: 2018-07-05 19:04    [W:0.957 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site