Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2663225pxa; Mon, 17 Aug 2020 15:55:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEF8HDeNt5M/9ZlcvXE/YHgLc0qezky4DGQTMxim65WGKfzkLyBvsfpZW1BR3k/gAzH0Gl X-Received: by 2002:a05:6402:847:: with SMTP id b7mr17848236edz.39.1597704910329; Mon, 17 Aug 2020 15:55:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597704910; cv=none; d=google.com; s=arc-20160816; b=DGMT0ukFOeC68HApZHCVPV3ZudfvbybJ1OpSHfwQ4R3K311KdJjUiY8MsXqWuRTZ3/ PizPYeh67v1QAwp7pMlLgKcv68sGbG18VncbsbJrgNLt+aNxzH1xgYz/SaN8YU8OdFqh 3WqSykX898GXGlmjAkFrjg3aVt4DCOF9aA9LKFfcZIc/+BtgIsexzODks/wV3QIaTJ7H SGXtLDNQUrAIJJ2Pmr80ZMhQQQcNHVjXUvke58OAGTIQjza0/xU6V6gpX9LSrrjzjovI MfC5hR4DfTWj4FKctHc/+E4v3CZpntj/m2ctwhzt6NidSId151pdfL4YbnjSasmwQ2pd x0sg== 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=gyQ/HT1hNw81UXiNz+DzWz3goEFDFfBbnQ+F5iQ76go=; b=ZKrVoHgQBPfoDDcMSBt2IEQAHSsrnVG24/LLFE90tWoQ9Etg+mLslhwGUj2li4eVtY RtnJ3Qb/Yzsu8oLwuHrHIo0VHg5AOxk2Zpype045rVCN1AePXYKDwR8wpIDFAw/rRDHY K/RMaYLmsGKWL08UkbtIh1bKU4ayU8BiovcYEbsAdW/O93VtnSkYsYZmZ1N5IVd/clwl rN0Pemzrl+rNwh5/LzvdFrAJkWUPFweTYCW+Nn+8DOwQ63xPd5tb7l78ZHTr2iwErauU WCetBODsCRbIxPp+ES3QZ6vSGSpvwxIQNaB6upHSYLCp0Lg+Le09943syql3o33aEMvE hxqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RtKlUiho; 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 a7si12147050ejd.422.2020.08.17.15.54.47; Mon, 17 Aug 2020 15:55:10 -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=RtKlUiho; 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 S1732492AbgHQTjL (ORCPT + 99 others); Mon, 17 Aug 2020 15:39:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:35726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729277AbgHQP0l (ORCPT ); Mon, 17 Aug 2020 11:26:41 -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 029A52078D; Mon, 17 Aug 2020 15:26:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597678000; bh=LbUYP1IQLhtmeYiSftNfPFlg4bh7sn+HM28H+KDvsSI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RtKlUihoAiLrW+zfiDg/D31yNfT6LMQvum2HlL9mFYAz5ndZ5OG0EExBj/NrCDSF9 QtnaD643SD9EBOquvrnyPaygxl7n/DHM3pQLsfi+C6bkOIW4FY5wscrHGHAwKd+PZ3 96lS4iGxEeLQrlYWOuL3vTErGSqiykOKYWk0RP94= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Russell King , Christophe JAILLET , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 5.8 183/464] scsi: cumana_2: Fix different dev_id between request_irq() and free_irq() Date: Mon, 17 Aug 2020 17:12:16 +0200 Message-Id: <20200817143842.586674004@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 040ab9c4fd0070cd5fa71ba3a7b95b8470db9b4d ] The dev_id used in request_irq() and free_irq() should match. Use 'info' in both cases. Link: https://lore.kernel.org/r/20200625204730.943520-1-christophe.jaillet@wanadoo.fr Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Acked-by: Russell King Signed-off-by: Christophe JAILLET Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/arm/cumana_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/arm/cumana_2.c b/drivers/scsi/arm/cumana_2.c index 65691c21f133d..29294f0ef8a9a 100644 --- a/drivers/scsi/arm/cumana_2.c +++ b/drivers/scsi/arm/cumana_2.c @@ -450,7 +450,7 @@ static int cumanascsi2_probe(struct expansion_card *ec, if (info->info.scsi.dma != NO_DMA) free_dma(info->info.scsi.dma); - free_irq(ec->irq, host); + free_irq(ec->irq, info); out_release: fas216_release(host); -- 2.25.1