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

2016-06-01 Thread Russell King - ARM Linux
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 kerne

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

2016-05-31 Thread Krzysztof Kozlowski
On 05/31/2016 04:21 PM, Russell King - ARM Linux wrote: > 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 __in

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

2016-05-31 Thread Krzysztof Kozlowski
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. Signed-off-by: Krzysztof Kozlowski ---