Re: [PATCH] scsi: libiscsi: fix shifting of DID_REQUEUE host byte
From: Johannes Thumshirn
Date: Mon Oct 09 2017 - 08:46:14 EST
On Mon, Oct 09, 2017 at 02:35:06PM +0200, Steffen Maier wrote:
> Use wrapper functions to advertize their use in an attempt to avoid wrong
> shifting in the future?
Not sure, converting all the users would be a lot of churn for relatively low
benefit:
linux (master)$ git grep "result = DID_" drivers/scsi/ | wc -l
419
--
Johannes Thumshirn Storage
jthumshirn@xxxxxxx +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850