Skip to content

Commit

Permalink
scsi: eesox: Fix different dev_id between request_irq() and free_irq()
Browse files Browse the repository at this point in the history
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: 1da177e ("Linux-2.6.12-rc2")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
Christophe JAILLET authored and Martin K. Petersen committed Jul 3, 2020
1 parent d179f7c commit 86f2da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/arm/eesox.c
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 86f2da1

Please sign in to comment.