[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a4a799f62ffa873fc3a7e23a5a46dafc8805b984.camel@wdc.com>
Date: Thu, 5 Jul 2018 17:04:05 +0000
From: Bart Van Assche <Bart.VanAssche@....com>
To: "jthumshirn@...e.de" <jthumshirn@...e.de>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>
CC: "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/4] scsi: ncr53c8xx: remove ScsiResult macro
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.
Powered by blists - more mailing lists