summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2020-06-26 06:05:53 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-02 23:53:44 -0400
commit86f2da1112ccf744ad9068b1d5d9843faf8ddee6 (patch)
tree8c9e738a9570577d32453db27b79887d6a52a955
parentd179f7c763241c1dc5077fca88ddc3c47d21b763 (diff)
downloadlinux-86f2da1112ccf744ad9068b1d5d9843faf8ddee6.tar.gz
linux-86f2da1112ccf744ad9068b1d5d9843faf8ddee6.tar.bz2
linux-86f2da1112ccf744ad9068b1d5d9843faf8ddee6.zip
scsi: eesox: Fix different dev_id between request_irq() and free_irq()
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 <christophe.jaillet@wanadoo.fr> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/arm/eesox.c2
1 files changed, 1 insertions, 1 deletions
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);