diff options
author | 2022-03-19 08:01:24 +0100 | |
---|---|---|
committer | 2022-03-30 00:05:42 -0400 | |
commit | 16ed828b872d12ccba8f07bcc446ae89ba662f9c (patch) | |
tree | f1574ad6a4116e1e10e987be4b4f7503a331a1b2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | scsi: aic7xxx: Use standard PCI subsystem, subdevice defines (diff) | |
download | wireguard-linux-16ed828b872d12ccba8f07bcc446ae89ba662f9c.tar.xz wireguard-linux-16ed828b872d12ccba8f07bcc446ae89ba662f9c.zip |
scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
The error handling path of the probe releases a resource that is not freed
in the remove function. In some cases, a ioremap() must be undone.
Add the missing iounmap() call in the remove function.
Link: https://lore.kernel.org/r/247066a3104d25f9a05de8b3270fc3c848763bcc.1647673264.git.christophe.jaillet@wanadoo.fr
Fixes: 45804fbb00ee ("[SCSI] 53c700: Amiga Zorro NCR53c710 SCSI")
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions