projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599b714
)
serial: bcm63xx_uart: don't use kfree() on non kmalloced area.
author
Maxime Bizon
<mbizon@freebox.fr>
Sat, 30 Jan 2010 17:42:56 +0000
(18:42 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 2 Mar 2010 22:43:18 +0000
(14:43 -0800)
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/bcm63xx_uart.c
patch
|
blob
|
history
diff --git
a/drivers/serial/bcm63xx_uart.c
b/drivers/serial/bcm63xx_uart.c
index
37ad0c4
..
f78ede8
100644
(file)
--- a/
drivers/serial/bcm63xx_uart.c
+++ b/
drivers/serial/bcm63xx_uart.c
@@
-830,7
+830,7
@@
static int __devinit bcm_uart_probe(struct platform_device *pdev)
ret = uart_add_one_port(&bcm_uart_driver, port);
if (ret) {
-
kfree(port)
;
+
ports[pdev->id].membase = 0
;
return ret;
}
platform_set_drvdata(pdev, port);