Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1377591pxv; Sat, 10 Jul 2021 02:26:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyF/dQjMSN3TBXIS/UlpnDWRD+FHbRnPpWvhyIsj0cGSQTTVW4u+n9qPOEqzHpsvanwu28g X-Received: by 2002:a05:6e02:dc8:: with SMTP id l8mr10899009ilj.5.1625909176247; Sat, 10 Jul 2021 02:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625909176; cv=none; d=google.com; s=arc-20160816; b=xgiKtnJ7Ps312bEhgk+hqgNG86Wc1ETWeaPf2xv3H5e9LSUka1rSo5sR+awe/7XvUB oOi3l6sAh29iO+4l4bCU+Tz7X4uKMgpqq4XGfKsJHXNJowUwH+fPdAzgSDJVJ4g9+nhF JcO+1CdPeTDAanNXYqVnxuS6EiFBskEmPY6YFsB1i7fIlvpqMm9/aHzZe2hd90Pf/hRA TWzanxD2Bi3M+JAQE7VCjKXdrSlHLGBcHqbSAXY/Lhc4GNJDg5Xk/nDGvcnKt4X7/9Pc X7tx9reoFPHZAGZQhQXRAQEeTDlT6ggxVfk60Rdc4YV7+ccCsaWt7V00SDi3YeN8VhnY sY7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-filter; bh=SQ9/wXBrlA7AYi8QTisczBokdgyqEgpdR/QC9SOIKDY=; b=OZu/5p7EiToXZiITjUE2MTVDs5MDAk4aTKLjrmg+n45y1MVROZRvT/4g8YzR02geLK hgrpbsVlf1NhIDu18PLKpNYmDyiG/5qTfY3I1lC3EQMKRZJH2De7OqSu+RU/Minj+Xuh Fvg/FrFrJo6ADxYnfYtWYsjEhFcETPCfHDdmizOScYvCrZORnGIbuM1SLBAEZpaEQsC/ fQKfdFVGKXQ/SThFk1H4WOkkCd8gUo7kL1cD73abAYtzpsD9jucql7xWaYd9IiXTZctv t1o4DXasHuoftY6mJjCyKrpUGA7LMPRyQTnubvWbk6/f9trTw2OIRY+UdSuSqP7DW3KV BxOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si7121742ilj.25.2021.07.10.02.26.03; Sat, 10 Jul 2021 02:26:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232331AbhGJJ2W (ORCPT + 99 others); Sat, 10 Jul 2021 05:28:22 -0400 Received: from mxout04.lancloud.ru ([45.84.86.114]:54890 "EHLO mxout04.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231877AbhGJJ2W (ORCPT ); Sat, 10 Jul 2021 05:28:22 -0400 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout04.lancloud.ru 499D620CDD48 Received: from LanCloud Received: from LanCloud Received: from LanCloud Subject: Re: [PATCH AUTOSEL 4.9 04/26] scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw() To: Sasha Levin , , CC: John Garry , "Martin K . Petersen" , References: <20210710023604.3172486-1-sashal@kernel.org> <20210710023604.3172486-4-sashal@kernel.org> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: <8881b462-f4c9-232c-124b-80f44b45073c@omp.ru> Date: Sat, 10 Jul 2021 12:16:54 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210710023604.3172486-4-sashal@kernel.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT01.lancloud.ru (fd00:f066::141) To LFEX1907.lancloud.ru (fd00:f066::207) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10.07.2021 5:35, Sasha Levin wrote: > From: Sergey Shtylyov > > [ Upstream commit ab17122e758ef68fb21033e25c041144067975f5 ] > > After commit 6c11dc060427 ("scsi: hisi_sas: Fix IRQ checks") we have the > error codes returned by platform_get_irq() ready for the propagation > upsream in interrupt_init_v1_hw() -- that will fix still broken deferred > probing. Let's propagate the error codes from devm_request_irq() as well > since I don't see the reason to override them with -ENOENT... > > Link: https://lore.kernel.org/r/49ba93a3-d427-7542-d85a-b74fe1a33a73@omp.ru > Acked-by: John Garry > Signed-off-by: Sergey Shtylyov > Signed-off-by: Martin K. Petersen > Signed-off-by: Sasha Levin > --- > drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c b/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c > index c0ac49d8bc8d..5c49806a7ae3 100644 > --- a/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c > +++ b/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c [...] > @@ -1729,7 +1729,7 @@ static int interrupt_init_v1_hw(struct hisi_hba *hisi_hba) > if (!irq) { > dev_err(dev, "irq init: could not map cq interrupt %d\n", > idx); > - return -ENOENT; > + return irq; > } > > rc = devm_request_irq(dev, irq, cq_interrupt_v1_hw, 0, Again, this patch is borked without a preceding patch mentioned in the changelog. MBR, Sergey