Thread (4 messages) 4 messages, 2 authors, 2016-05-31

[RFT PATCH 1/2] serial: Fix console setup section mismatch

From: linux@armlinux.org.uk (Russell King - ARM Linux)
Date: 2016-05-31 14:22:45
Also in: linux-arm-msm, linux-serial, linuxppc-dev, lkml, sparclinux

On Tue, May 31, 2016 at 04:19:31PM +0200, Krzysztof Kozlowski wrote:
Remove __init annotation from all of console->setup implementations
because:
1. The pointer to it is stored in a struct console which is not
   marked with __initdata.
2. It is referenced by register_console() from kernel which is not
   marked with __init.
However, many of these drivers, the console can only be used when the
driver is built-in, and register_console() is only called early in
initialisation.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help