Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2663050pxa; Mon, 17 Aug 2020 15:54:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzznSFugnsPgPPoHrRRWm8oYSYwV0XuvEmaH3mfV+VomGLxOR4HASDXsMaJi6J+gxQf865A X-Received: by 2002:aa7:de13:: with SMTP id h19mr16579410edv.322.1597704889802; Mon, 17 Aug 2020 15:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597704889; cv=none; d=google.com; s=arc-20160816; b=C3XNsT1iQaPbBcWWUefGpVYZd8CHXfPg2knqeXSfj+yrP2wcDyZcT4YlUt/jhZ7qGT Rgi3q2n1WXCxix8vAxPsiInsOb9SGARV7BR776IMoPC31Mo4Qe7BINHQv++oZ+Ojbshv gLxDiZ4KhVJn1v6JVJ4NcErVZUB3azXWNJu0ntYYKTgfNaFENyDpcffXnoGHgVpj9Id2 b5UC6lizjlvF8RLZnXyd24IoZ0bbZSxgIyffYTp1JJTngRPFYZkU90RsyoK+6n9b7kjM D7YdQCrSDBI+sl28HFVSmjohTElXAQ0bjdC9Z9QDFnCfTbPdf7C6qwI6HdAES/lBwq4b qLOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=fPAZMR6UpKdeQylFqglAW9KRSzaeQ9gCQzjgWKDBJDM=; b=n3iyNcFNL3/pYSzHfHZZAXoxATzpmCnb3TVdhr+xasAHHlxLn1SZ1W3cQcFiVZrAp+ lfLrU1Ors2CN4mAt8hZa/fn60AgLEdnn3TwJkvKZyYfP11G0GyNo3lkpidSqCk68Uzcg m0OLfWQglFhSZ7o2CcGVAE8slqMXAXlKpyiot2B6qG9X7Gn3IWK4IJ6bH7kr+0F4vhnG rMFJDQPH5E8iTqZiM6JsCF9h1FKV/ZbdrW7kV6/MjfbA2gs3BnyMwBaZT5Tc2M/swGXj D6idRDk5Ae9sDuHLuUzqGxDecFl2jCugzpt5+/ypGE+kiwQwk7nzL9Kc0aB+qZ7BCEyF Hl2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IQact6wF; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si11648702eds.102.2020.08.17.15.54.26; Mon, 17 Aug 2020 15:54:49 -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=default header.b=IQact6wF; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732330AbgHQThx (ORCPT + 99 others); Mon, 17 Aug 2020 15:37:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:39396 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729903AbgHQP1b (ORCPT ); Mon, 17 Aug 2020 11:27:31 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 37EB922DBF; Mon, 17 Aug 2020 15:27:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597678050; bh=oNeBCv8ItFrue9lWTMGqDB+sAfUUQCb7GaGg120hWAM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IQact6wFtGk9VxVVkserP+Gf+gZ6MyCd35sll1WySeOU9yIRDfAPNxe6L6JvIm+3A nBpzrZSXr7VyaGK4TDJ19ryUxpQOEj8aPnNJ8ey6KXjk4CawenSP2MArYMcuuRvwTU mpn4dsuqe7O0jr7CKSJVU/p6jC1T0BPcyCnQeS/c= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christophe JAILLET , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 5.8 202/464] scsi: eesox: Fix different dev_id between request_irq() and free_irq() Date: Mon, 17 Aug 2020 17:12:35 +0200 Message-Id: <20200817143843.497713662@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143833.737102804@linuxfoundation.org> References: <20200817143833.737102804@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christophe JAILLET [ Upstream commit 86f2da1112ccf744ad9068b1d5d9843faf8ddee6 ] The dev_id used in request_irq() and free_irq() should match. Use 'info' in both cases. Link: https://lore.kernel.org/r/20200626040553.944352-1-christophe.jaillet@wanadoo.fr Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Christophe JAILLET Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- 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 6e204a2e0c8d7..591ae2a6dd74f 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); -- 2.25.1