[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140604.145536.2297917264161823878.davem@davemloft.net>
Date: Wed, 04 Jun 2014 14:55:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Li.Xiubo@...escale.com
Cc: claudiu.manoil@...escale.com, jingchang.lu@...escale.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gianfar: Fix the section mismatch warnings.
From: Xiubo Li <Li.Xiubo@...escale.com>
Date: Wed, 4 Jun 2014 16:49:16 +0800
> Building with CONFIG_DEBUG_SECTION_MISMATCH enabled, the following
> WARNING is occured:
>
> LD drivers/net/built-in.o
> WARNING: drivers/net/built-in.o(.text+0xcd4c): Section mismatch in
> reference from the function gfar_probe() to the function
> .init.text:gfar_init_addr_hash_table()
> The function gfar_probe() references
> the function __init gfar_init_addr_hash_table().
> This is often because gfar_probe lacks a __init
> annotation or the annotation of gfar_init_addr_hash_table is wrong.
>
> Signed-off-by: Xiubo Li <Li.Xiubo@...escale.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists