Commit d9964d5c authored by Amol Lad's avatar Amol Lad Committed by Linus Torvalds
Browse files

[PATCH] ioremap balanced with iounmap for drivers/serial/8250_gsc.c

ioremap must be balanced by an iounmap and failing to do so can result
in a memory leak.
Signed-off-by: default avatarAmol Lad <>
Cc: Alan Cox <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent f12ad7d5
...@@ -64,6 +64,7 @@ serial_init_chip(struct parisc_device *dev) ...@@ -64,6 +64,7 @@ serial_init_chip(struct parisc_device *dev)
err = serial8250_register_port(&port); err = serial8250_register_port(&port);
if (err < 0) { if (err < 0) {
printk(KERN_WARNING "serial8250_register_port returned error %d\n", err); printk(KERN_WARNING "serial8250_register_port returned error %d\n", err);
return err; return err;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment