Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2653974pxa; Mon, 17 Aug 2020 15:36:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycBxioM28cLkHIgqFXT79+APgtPDfVNKNzYP/xpJxbcYJFTdE9NsnrjExT0KK5DyyggSUg X-Received: by 2002:a17:906:b2d0:: with SMTP id cf16mr17140435ejb.514.1597703815918; Mon, 17 Aug 2020 15:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597703815; cv=none; d=google.com; s=arc-20160816; b=KaXUuW9Rdgl6aRSA4eVUfCVGhsx3Z/ncXDKLlHiGwfkC1AF7wTu0spKkwbfI5dCUsA bhRa/0q0Uh8uXR3vkBChuRj4/X2Jx3+QDbbnnU2S3lrRKp5qcFyww8ZfUSnkJgdmhtV9 Ws80m4kt/FcSWp4c0qNvGfAmmksYZUUfVRhQgEmCqtuuwfQa8leOHWXXVrTgMouNNyrj c+/JwUJJ/RmaILx3Sk/aU9JvYmZETdqu8m40FmWFPE+OFWcHRPywEDbtz2gRuljETsSu jpIGVGTzGD21/6F6ljwp89mHuWpSwRyPdedPHTPZl/yzkJ00bwUfYyhdoJc8MzkxU2g6 +ukg== 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=ur+JygP5Dw5fhzuFd+R+bIVeMvpw+kKFnpcnlRnJbu4=; b=p2xYiWV/6dugznJaB/OQMFRZsF3WlwQQ0lPrw676rOoiwqWvmfJUbUJi5lrj+GU9Io eHXmhSxsakxYlW/4f156YwirY7UHfsAus1mX+885B34lx3JmBZo58EmJhp6ptNp0ag3o c0KcINVuqCL2Wdx/f88WSJkxjJt+waoro9gF9a5Reul32rL2iIkuYZNnM0s4Y/6z2QnR ac9PhKq0eM7QafJuGNPYfIcDlhIE7sPHw15xEWcqvnT5Euwe22o3fIN3UfZhNNlUE061 2f8WiMpSvwI2ME78hkAiDzlJPJmNj+sJT3Um/jXMK96t7WZWBnW1j+Q1ycb/M7GmXtkL p5ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nMhwAW+h; 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 d19si13223896ejt.707.2020.08.17.15.36.32; Mon, 17 Aug 2020 15:36:55 -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=nMhwAW+h; 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 S2389650AbgHQRSG (ORCPT + 99 others); Mon, 17 Aug 2020 13:18:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:52756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730805AbgHQQO5 (ORCPT ); Mon, 17 Aug 2020 12:14:57 -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 0C47F207DE; Mon, 17 Aug 2020 16:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597680897; bh=ivOMTOdFsLN/sz1ORCYQGPOcLijlJUddQvL8fkZTMnE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nMhwAW+hsD+tOhtqloFsRI5VkO3CfbHaUZq2uhRdwiEqv792giL5LbHXoF5lfDQHr +RTgbhjWma7tmw7NK5YpfOBVXpI5KLUJ+o/+PewUmMljbFKWCPkovS6h3Zxb+GX2BC 7nYrMiFYByob9EqmfNQq9KaNSCDjsQlPpF5b3cZY= 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 4.19 071/168] scsi: eesox: Fix different dev_id between request_irq() and free_irq() Date: Mon, 17 Aug 2020 17:16:42 +0200 Message-Id: <20200817143737.261687232@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143733.692105228@linuxfoundation.org> References: <20200817143733.692105228@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 e93e047f43165..65bb34ce93b94 100644 --- a/drivers/scsi/arm/eesox.c +++ b/drivers/scsi/arm/eesox.c @@ -575,7 +575,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