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
BugLink: https://bugs.launchpad.net/bugs/1892215

[ 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/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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
  • Loading branch information
tititiou36 authored and Seth Forshee committed Aug 19, 2020
1 parent 3c1912e commit 5be5f9c
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 @@ -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);
Expand Down

0 comments on commit 5be5f9c

Please sign in to comment.