diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-06-04 12:49:16 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-05 01:55:23 +0400 |
commit | 898157ed7473683d515532f9f14bfd2f7743ccd2 (patch) | |
tree | 6d3d27e8b910743c0c8ae635f9090d2f21ef684f /drivers/net/ethernet/nvidia | |
parent | 9ab89acc86f480929cab4da71f58e5b403fce313 (diff) | |
download | linux-898157ed7473683d515532f9f14bfd2f7743ccd2.tar.xz |
gianfar: Fix the section mismatch warnings.
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/nvidia')
0 files changed, 0 insertions, 0 deletions