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
[ 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]>
  • Loading branch information
tititiou36 authored and gregkh committed Aug 17, 2020
1 parent 88894e5 commit fc5045e
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
Expand Up @@ -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);
Expand Down

0 comments on commit fc5045e

Please sign in to comment.