Skip to content

Commit 3bf150b

Browse files
tititiou36gregkh
authored andcommitted
scsi: cumana_2: Fix different dev_id between request_irq() and free_irq()
[ Upstream commit 040ab9c ] 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: 1da177e ("Linux-2.6.12-rc2") Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 5274691 commit 3bf150b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/scsi/arm/cumana_2.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ static int cumanascsi2_probe(struct expansion_card *ec,
450450

451451
if (info->info.scsi.dma != NO_DMA)
452452
free_dma(info->info.scsi.dma);
453-
free_irq(ec->irq, host);
453+
free_irq(ec->irq, info);
454454

455455
out_release:
456456
fas216_release(host);

0 commit comments

Comments
 (0)