Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2658608pxa; Mon, 17 Aug 2020 15:45:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycEek9H9nq5JST/TB5ohk3sMoCJrtnrvsar8EacIFfYAnhSTWJEqqV8gp1SsuLwTkhVwhK X-Received: by 2002:a17:906:7e05:: with SMTP id e5mr18000803ejr.252.1597704338678; Mon, 17 Aug 2020 15:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597704338; cv=none; d=google.com; s=arc-20160816; b=mWXlpP/E2zAOEw3wAbPMlHNiLWShi3XwR3zRlfxwxweNBhmrN8K+y/2RsMqs3rsAbh TO5+rkr8HH5766CVUy/pAnHsYx1qomUVD/bkmopUbu3u6VM0I4H3kCszWGBT/zD1mdVL 3QBYtGzVBb5BE6ZDC2otZdNHv0IsABHR/yXj1BaxYI2ZnUoablF26EO4Qrm4wdAmaOZm u5fGiS3OMM3BMa3m/PlDE/sv/CCu9nQVdZ9Pkd+HsaIHspEmVeYg0J2DlkOYQIAFEKrx hidNyX87/vqL0K6zJ1vfLT/GOE3fAwmK253fpOL/rn8vcervav+GUKL5ceu/uL132FUF /buA== 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=uxUbway+FXoceslWqr+Pi1dXhyx+evwKs2f+eORrfKg=; b=elHTAT4qycJog6rz13mUIsVZrN+u1F9DMctHX6h5IC+TylSMv341UZs1KhOGVJEW7O Tsi0XgFXsVu9WQQwEJCHa3aWcd/sVS25rjvtSAVziWo6UyD/1VaQnQ2R8E1K7BRmAo1m iJvvmviZ6iQXqmmyve4I303D5nbrwhwLYCbz9Q25FqWtZSCFDGsdLhoDbPPs1BJm9bHE CFVLMG+sRyB3CeBoSoBM48pRyIeaDSV3JMysiW/gMHg2eF2I3x7Kd35BwrqFQDPKHbHr h2Om7CeQdw885hjaYOWHaeEnkRTjVbM2C1/SuAADw2Hg8+akboc5u0slwPG8ihZXM1EI aczw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GJwW2dvL; 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 91si15430228edy.18.2020.08.17.15.45.15; Mon, 17 Aug 2020 15:45:38 -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=GJwW2dvL; 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 S2391277AbgHQS6W (ORCPT + 99 others); Mon, 17 Aug 2020 14:58:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:33992 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387805AbgHQPto (ORCPT ); Mon, 17 Aug 2020 11:49:44 -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 1DC0A20855; Mon, 17 Aug 2020 15:49:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597679383; bh=87Fl949AzeQxELVjL2JDgPA6BXffnHKt0pB+nQTHT88=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GJwW2dvLgiMFlVCZNVXVYOeuJaRAIeg2RMyHNd5Tt8I5ZwulB28KhZsRA1uNFqVa0 fUvty9B66vwgL+i1ptoYHmA+ZzhVtOXnlJEHLBEsxZTjxRez860PjBSqhYFXe1bkKs 4+GP2Sbyg7Cf9CAFZnRekA/+MUXTeRvYTmR7Dv/U= 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.7 162/393] scsi: cumana_2: Fix different dev_id between request_irq() and free_irq() Date: Mon, 17 Aug 2020 17:13:32 +0200 Message-Id: <20200817143827.475374061@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143819.579311991@linuxfoundation.org> References: <20200817143819.579311991@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 a1f3e9ee4e639..14e1d001253c4 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