fix unitilized spinlock in cpm driver when used as console
PATCH 1/1 fix unitilized spinlock in cpm driver when used as console
Fix unitilized spinlock in the cpm scc driver when used as console.
--- all/drivers/serial/cpm_uart/cpm_uart_core.c-orig +++ all/drivers/serial/cpm_uart/cpm_uart_core.c
@@ -1038,6 +1038,7 @@
port =
(struct uart_port *)&cpm_uart_ports[cpm_uart_port_map[co->index]];
+ spin_lock_init(&(port->lock));
pinfo = (struct uart_cpm_port *)port;
pinfo->flags |= FLAG_CONSOLE;
This may already be resolved by this patch which is in the latest bk tree.
http://ozlabs.org/ppc32-patches/patch.pl?id=280
- kumar
Quoted 5 lines · Greg Weeks
Fix unitilized spinlock in the cpm scc driver when used as console.
Signed-off-by Greg Weeks <[email protected]><cpm.console.spinlock.patch><ATT247771.txt>
Quoted 15 lines · Kumar Gala
This may already be resolved by this patch which is in the latest bk tree.
http://ozlabs.org/ppc32-patches/patch.pl?id=280
- kumar
Quoted 5 lines · Greg Weeks
Fix unitilized spinlock in the cpm scc driver when used as console.
Signed-off-by Greg Weeks <[email protected]><cpm.console.spinlock.patch><ATT247771.txt>
Yes that fixes it.
Greg Weeks