From patchwork Fri Jun 26 04:05:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 11627053 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9F96692A for ; Fri, 26 Jun 2020 10:15:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7828820C09 for ; Fri, 26 Jun 2020 10:15:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qqr9zlEA"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="fKTklp+o" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7828820C09 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=wanadoo.fr Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uv/7qRklRT9L1Rlhuvd9QM2zTOkOapy4v9WP8HYIbCI=; b=qqr9zlEAjHOulOE27gMKLfPil +kuGH21EKRlv3zkaFQmBdSiiuYnWi6Y+UGsdPSpm+5E+RqzPiWEC+kqK6AfGKCsbMYkfMu8Hut1SK eY+FaRqvrzymyvd2PsnMbdMLW0e1t5+NPX0fz5ieyJ+em9kNXty0cvQufRHdIMpCn5IStXV6uDVAK CSO4zU45zc6LThtbEO4ykoI3sjRp2ddse2noENxDoaKtpqDtqxLZdh4rPpkoAQQ506a61wxwYvQy3 M0TRQJIMhuMoxk+8B+cQUqdglN6siuQ6nEP9nKnbV+Kf/inZKAl9kiCqrWHIAdpmOwP+q5RINg9TE aE/8SqZ9g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jolN7-0005hx-Cp; Fri, 26 Jun 2020 10:14:13 +0000 Received: from casper.infradead.org ([90.155.50.34]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jolMz-0001XZ-5I for linux-arm-kernel@merlin.infradead.org; Fri, 26 Jun 2020 10:14:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=Pm5w8k5gEmITlOIz7DleynbjhB39KVlcEHOfkrGkS+s=; b=fKTklp+oFS/0Ov35g0FLc0Xzw/ Tgfzy1IFkvdeHx8X3vxkbJGo+KDBYRLSD/XIHQIm2Af390adpOgwwACGvkpR+jCM7VRD9cPzBFPjU QNlxJA5y3+QzieA8TRMn6N2p2nQnRA5gB84yoXYD1T1FcHPWmCyLc/TbXg/gaHRzjUzxWW76M59wO DncsfpL5+vsnJpz0NBBFMMM6R1nRe7BXoDQxp7jockhSfe7PC/r/29sh8wUEeKx3U8fnm3FroB0p5 bm7QeHJedM+Lryh0bUFzHjCUzj+lDY1Io1cSuxK2nFqUia2fRDhpIoxv0TnJ7Fw7scPMfZtE+GX// V/wexW+Q==; Received: from smtp08.smtpout.orange.fr ([80.12.242.130] helo=smtp.smtpout.orange.fr) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jofci-0007mI-R4 for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2020 04:05:59 +0000 Received: from localhost.localdomain ([92.148.198.76]) by mwinf5d16 with ME id vg5u2200F1fPLi403g5vwo; Fri, 26 Jun 2020 06:05:55 +0200 X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Fri, 26 Jun 2020 06:05:55 +0200 X-ME-IP: 92.148.198.76 From: Christophe JAILLET To: linux@armlinux.org.uk, jejb@linux.ibm.com, martin.petersen@oracle.com Subject: [PATCH V2] scsi: eesox: Fix different dev_id between 'request_irq()' and 'free_irq()' Date: Fri, 26 Jun 2020 06:05:53 +0200 Message-Id: <20200626040553.944352-1-christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.25.1 In-Reply-To: <26d388f5-be67-b643-c76c-b9fe52f111f7@wanadoo.fr> References: <26d388f5-be67-b643-c76c-b9fe52f111f7@wanadoo.fr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200626_050557_110965_63E9E567 X-CRM114-Status: GOOD ( 10.75 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [80.12.242.130 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [80.12.242.130 listed in wl.mailspike.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christophe JAILLET , kernel-janitors@vger.kernel.org, linux-scsi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The dev_id used in 'request_irq()' and 'free_irq()' should match. So use 'info' in both cases. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Christophe JAILLET --- V2: update free_irq instead of request_irq in order not to obviously break code --- drivers/scsi/arm/eesox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/arm/eesox.c b/drivers/scsi/arm/eesox.c index 6e204a2e0c8d..591ae2a6dd74 100644 --- a/drivers/scsi/arm/eesox.c +++ b/drivers/scsi/arm/eesox.c @@ -571,7 +571,7 @@ static int eesoxscsi_probe(struct expansion_card *ec, const struct ecard_id *id) if (info->info.scsi.dma != NO_DMA) free_dma(info->info.scsi.dma); - free_irq(ec->irq, host); + free_irq(ec->irq, info); out_remove: fas216_remove(host);