Re: Section mismatches in early_printk support functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 11, 2016 at 10:32:13AM +0200, Mason wrote:
> Hello,
> 
> Compiling a 4.7 kernel with early_printk support, I get several
> section mismatch warnings:
> 
> WARNING: vmlinux.o(.text+0x2222c8): Section mismatch in reference from the function univ8250_console_setup() to the function .init.text:early_print()
> The function univ8250_console_setup() references
> the function __init early_print().
> This is often because univ8250_console_setup lacks a __init 
> annotation or the annotation of early_print is wrong.
> 
> WARNING: vmlinux.o(.text+0x222b7c): Section mismatch in reference from the function serial8250_register_8250_port() to the function .init.text:early_print()
> The function serial8250_register_8250_port() references
> the function __init early_print().
> This is often because serial8250_register_8250_port lacks a __init 
> annotation or the annotation of early_print is wrong.
> 
> WARNING: vmlinux.o(.text+0x222cbc): Section mismatch in reference from the function serial8250_unregister_port() to the function .init.text:early_print()
> The function serial8250_unregister_port() references
> the function __init early_print().
> This is often because serial8250_unregister_port lacks a __init 
> annotation or the annotation of early_print is wrong.
> 
> WARNING: vmlinux.o(.text+0x222d84): Section mismatch in reference from the function serial8250_probe() to the function .init.text:early_print()
> The function serial8250_probe() references
> the function __init early_print().
> This is often because serial8250_probe lacks a __init 
> annotation or the annotation of early_print is wrong.
> 
> WARNING: vmlinux.o(.text+0x22446c): Section mismatch in reference from the function set_io_from_upio() to the function .init.text:early_print()
> The function set_io_from_upio() references
> the function __init early_print().
> This is often because set_io_from_upio lacks a __init 
> annotation or the annotation of early_print is wrong.
> 
> I'm not sure if these warnings are expected.
> Can they be safely ignored?

They should be fixed, can you provide the .config file that you used to
generate these messages?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux