Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2584282pxv; Sat, 17 Jul 2021 18:23:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpbAzanU7MxhUfv92c2xUvHVItAMeub6f8aVT2BoY6kaE9H7o5t6eq27NCsybAO9/0997f X-Received: by 2002:a02:908a:: with SMTP id x10mr14928069jaf.30.1626571420409; Sat, 17 Jul 2021 18:23:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626571420; cv=none; d=google.com; s=arc-20160816; b=URtwJZZ/ykmIFVaV5cmImW6dw/+Pg73NsXVVQ4cGgTXqaTiMNDlOMDZm5tWTMEW+gY I+9o6Y60e7b+Ey7k/dVtjOl8/Tyo7YMt54mM4SvLqcxJYhbS4UbvqNDNCY45LnvW1Yro stpN4TQMztmDBgdiRKbnGSpBMaOzal/NbXxEMgZbdWgYWHp5Y5jHXc0pehII5EoZcWiH IkdljPISNAKSMC5QCHLkgJMkzWjF/xLPgSZjkLqAlVJbFzbTvyqlxsnRHqaPbjGzctji PUnCbNKwYvHhhjOfkCudn781d/wVRX6EA75gqV9ormCYELTWT3BS6Wx/PVsyKRWEnoU2 jy5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TeseOea3JvJEAatzZeTpneAgktA2g8UXcJqJLD0jfWQ=; b=Vx0f93xmzKjV5NYNetX64/OQwTuFvJCwG745f8zliKg5Nvp2KqYvVQvyuh9fQ+xv6c /Wa20Md6BxOu30alhlw86R7yQRquY1pPywK6NRY/4fRJA8AAwetZ/+23rerPajgYtK1B gZDkGzWeAvz4Hxtb3Ktm9dURFQv0EufUbTMZhUX2Qi6dZkUlRzFMtqQiwZ9HPQwEFmGx 9rERDic2yFMl+TnvLASOGMyDjrrG4cuJiPdXQlwNFIyZuUxobeJ4BKrfMy7HvJDLBz4w I2UplcVraDuib8MpK8UlAMupZgHVtRyKn2FzU/zHNn1zDkvO4bpeoTk0P91k680aKCZs zlMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rff5+qQP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i186si17081203ioa.76.2021.07.17.18.22.38; Sat, 17 Jul 2021 18:23:40 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rff5+qQP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232663AbhGRBXt (ORCPT + 99 others); Sat, 17 Jul 2021 21:23:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:41020 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230259AbhGRBXs (ORCPT ); Sat, 17 Jul 2021 21:23:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 29BEF61073; Sun, 18 Jul 2021 01:20:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626571251; bh=zSkOY6802fCgCfb5LzkbrJxS7DReARrcCK0eEZLZdnw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Rff5+qQPEbqJC1HwHNM+5tdocXkVEWUozPMEp70ljkvbUTh0zWHF1XjDdm6P7nt1I dRHInkaGAaRIB75ugcVjTlNmCCe7mj53QXbc1EYec4R48jZ1kK6ll/63Q8sPOaUooF OEsF2r7bm6kKFkKb4rg3m2SOSvHMxykAEkcZH5ja4UtSJ+o/L6JbiKiXebNVDpMSVx J0V+j9wK5iCtQvR2TJg+Iezesjq42mfVhNfV5teWYQSkGDUM/rdn3lqk0c56+Pb1lp TDxQGJYUYcpHzLJgsqanq5xF4ISbL/z7CEZgMNBajDG7ffoFntiz5K0kRXkKc1xz/G FNhmwGV6LecTg== Date: Sat, 17 Jul 2021 21:20:50 -0400 From: Sasha Levin To: Sergey Shtylyov Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, John Garry , "Martin K . Petersen" , linux-scsi@vger.kernel.org Subject: Re: [PATCH AUTOSEL 4.19 05/39] scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw() Message-ID: References: <20210710023204.3171428-1-sashal@kernel.org> <20210710023204.3171428-5-sashal@kernel.org> <3e2af821-00e3-6db9-5820-696fdbe003d6@omp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <3e2af821-00e3-6db9-5820-696fdbe003d6@omp.ru> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 10, 2021 at 12:20:43PM +0300, Sergey Shtylyov wrote: >On 10.07.2021 5:31, 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 8aa3222fe486..5a777e48963b 100644 >>--- a/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c >>+++ b/drivers/scsi/hisi_sas/hisi_sas_v1_hw.c >[...] >>@@ -1717,7 +1717,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; > > This patch is borked too, we don't want to return 0 here... Looks like it's broken on <=4.19, I'll drop it. Thanks! -- Thanks, Sasha