Skip to content

Commit 3c3e890

Browse files
tititiou36gregkh
authored andcommitted
scsi: eesox: Fix different dev_id between request_irq() and free_irq()
[ Upstream commit 86f2da1 ] The dev_id used in request_irq() and free_irq() should match. Use 'info' in both cases. Link: https://lore.kernel.org/r/[email protected] Fixes: 1da177e ("Linux-2.6.12-rc2") Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent d40ef87 commit 3c3e890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/arm/eesox.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ static int eesoxscsi_probe(struct expansion_card *ec, const struct ecard_id *id)
571571

572572
if (info->info.scsi.dma != NO_DMA)
573573
free_dma(info->info.scsi.dma);
574-
free_irq(ec->irq, host);
574+
free_irq(ec->irq, info);
575575

576576
out_remove:
577577
fas216_remove(host);

0 commit comments

Comments
 (0)