lkml.org 
[lkml]   [2014]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] gianfar: Fix the section mismatch warnings.
From
From: Xiubo Li <Li.Xiubo@freescale.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@freescale.com>

Applied, thanks.


\
 
 \ /
  Last update: 2014-06-05 00:41    [W:0.050 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site