From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751897AbdCAD10 (ORCPT ); Tue, 28 Feb 2017 22:27:26 -0500 Received: from aserp1050.oracle.com ([141.146.126.70]:40042 "EHLO aserp1050.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751497AbdCAD1Z (ORCPT ); Tue, 28 Feb 2017 22:27:25 -0500 To: Colin King Cc: QLogic-Storage-Upstream@cavium.com, "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: qedi: fix missing return error code check on call to qedi_setup_int From: "Martin K. Petersen" Organization: Oracle Corporation References: <20170228110248.19290-1-colin.king@canonical.com> Date: Tue, 28 Feb 2017 21:56:13 -0500 In-Reply-To: <20170228110248.19290-1-colin.king@canonical.com> (Colin King's message of "Tue, 28 Feb 2017 11:02:48 +0000") 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: aserp1040.oracle.com [141.146.126.69] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Colin" == Colin King writes: Colin> The call to qedi_setup_int is not updating the return code rc yet Colin> rc is being checked for an error. Fix this by assigning rc to the Colin> return code from the call to qedi_setup_int. Applied to 4.11/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering