Hi Greg,
On 07/18/2017 01:08 PM, Greg KH wrote:
On Tue, Jul 18, 2017 at 12:29:59PM +0800, Jeffy Chen wrote:
The earlycon would be alive outside the init code in these cases:
1/ we have keep_bootcon in cmdline.
2/ we don't have a real console to switch to.
So remove the __init marking to avoid
The earlycon would be alive outside the init code in these cases:
1/ we have keep_bootcon in cmdline.
2/ we don't have a real console to switch to.
So remove the __init marking to avoid invalid memory access.
Signed-off-by: Jeffy Chen
---
drivers/tty/serial/arc_uart.c | 4 ++--
1 file changed,
On Tue, Jul 18, 2017 at 12:29:59PM +0800, Jeffy Chen wrote:
> The earlycon would be alive outside the init code in these cases:
> 1/ we have keep_bootcon in cmdline.
> 2/ we don't have a real console to switch to.
>
> So remove the __init marking to avoid invalid memory access.
>
> Signed-off-by:
The earlycon would be alive outside the init code in these cases:
1/ we have keep_bootcon in cmdline.
2/ we don't have a real console to switch to.
So remove the __init marking to avoid invalid memory access.
Signed-off-by: Jeffy Chen
---
drivers/tty/serial/arc_uart.c | 4 ++--
1 file changed,