From: "Matthew R. Ochs" Subject: Re: [PATCH 02/17] cxlflash: Update cxlflash_afu_sync() to return errno Date: Thu, 22 Jun 2017 14:54:12 -0500 Message-ID: <2FCA4239-F2A6-4C4D-855A-DAE88656BF84@linux.vnet.ibm.com> References: <1498097563-8680-1-git-send-email-ukrishn@linux.vnet.ibm.com> <1498097628-8753-1-git-send-email-ukrishn@linux.vnet.ibm.com> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Return-path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:33735 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753792AbdFVTyT (ORCPT ); Thu, 22 Jun 2017 15:54:19 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v5MJrhiT113535 for ; Thu, 22 Jun 2017 15:54:18 -0400 Received: from e38.co.us.ibm.com (e38.co.us.ibm.com [32.97.110.159]) by mx0b-001b2d01.pphosted.com with ESMTP id 2b8mcb050j-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 22 Jun 2017 15:54:18 -0400 Received: from localhost by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 22 Jun 2017 13:54:17 -0600 In-Reply-To: <1498097628-8753-1-git-send-email-ukrishn@linux.vnet.ibm.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Uma Krishnan Cc: linux-scsi , James Bottomley , "Martin K. Petersen" , "Manoj N. Kumar" , Frederic Barrat , linuxppc-dev@lists.ozlabs.org, Ian Munsie , Andrew Donnellan , Christophe Lombard > On Jun 21, 2017, at 9:13 PM, Uma Krishnan wrote: > > The cxlflash_afu_sync() routine returns a negative one to indicate any kind > of failure. This makes it impossible to establish why the error occurred. > > Update the return codes to clearly indicate the failure cause to the > caller. > > Signed-off-by: Uma Krishnan Acked-by: Matthew R. Ochs