Re: [PATCH] of: Fix the section mismatch warnings.

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

 




On Tue, Apr 8, 2014 at 12:48 AM, Xiubo Li <Li.Xiubo@xxxxxxxxxxxxx> wrote:
> In tag next-20140407, building with CONFIG_DEBUG_SECTION_MISMATCH
> enabled, the following WARNING is occured:
>
> WARNING: drivers/built-in.o(.text.unlikely+0x2220): Section mismatch
> in reference from the function __reserved_mem_check_root() to the
> function .init.text:of_get_flat_dt_prop()
> The function __reserved_mem_check_root() references
> the function __init of_get_flat_dt_prop().
> This is often because __reserved_mem_check_root lacks a __init
> annotation or the annotation of of_get_flat_dt_prop is wrong.
>
> WARNING: vmlinux.o(.text.unlikely+0xb9d0): Section mismatch in reference
> from the function __reserved_mem_check_root() to the (unknown reference)
> .init.data:(unknown)
> The function __reserved_mem_check_root() references
> the (unknown reference) __initdata (unknown).
> This is often because __reserved_mem_check_root lacks a __initdata
> annotation or the annotation of (unknown) is wrong.
>
> This is cause by :
> 'drivers: of: add initialization code for dynamic reserved memory'.
>
> Signed-off-by: Xiubo Li <Li.Xiubo@xxxxxxxxxxxxx>

Applied.

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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux