Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753064AbdHPCL6 (ORCPT ); Tue, 15 Aug 2017 22:11:58 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:34705 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752130AbdHPCL4 (ORCPT ); Tue, 15 Aug 2017 22:11:56 -0400 To: Christophe JAILLET Cc: manoj@linux.vnet.ibm.com, mrochs@linux.vnet.ibm.com, ukrishn@linux.vnet.ibm.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] scsi: cxlflash: Fix an error handling path in 'cxlflash_disk_attach()' From: "Martin K. Petersen" Organization: Oracle Corporation References: <20170815201814.12929-1-christophe.jaillet@wanadoo.fr> Date: Tue, 15 Aug 2017 22:11:50 -0400 In-Reply-To: <20170815201814.12929-1-christophe.jaillet@wanadoo.fr> (Christophe JAILLET's message of "Tue, 15 Aug 2017 22:18:14 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 222 Lines: 11 Christophe, > 'rc' is known to be 0 at this point. > If 'create_context()' fails, returns -ENOMEM instead of 0 which means > success. Applied to 4.14/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering