From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754500AbdJIMqK (ORCPT ); Mon, 9 Oct 2017 08:46:10 -0400 Received: from mx2.suse.de ([195.135.220.15]:56970 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754013AbdJIMqJ (ORCPT ); Mon, 9 Oct 2017 08:46:09 -0400 Date: Mon, 9 Oct 2017 14:46:03 +0200 From: Johannes Thumshirn To: Steffen Maier Cc: "Martin K . Petersen" , Linux Kernel Mailinglist , Linux SCSI Mailinglist , Lee Duncan , Hannes Reinecke , Bart Van Assche , Chris Leech Subject: Re: [PATCH] scsi: libiscsi: fix shifting of DID_REQUEUE host byte Message-ID: <20171009124603.hfqvz6lugoi5qor3@linux-x5ow.site> References: <20171009113319.9505-1-jthumshirn@suse.de> <9105c7ef-0255-520c-3c90-e52a16fa5509@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9105c7ef-0255-520c-3c90-e52a16fa5509@linux.vnet.ibm.com> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@suse.de +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