diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2013-03-30 11:44:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-31 19:29:12 -0400 |
commit | 6e51f857303d02770d5f3ff8f0436487168d0230 (patch) | |
tree | ba43b85f045495e2d5485e75c11c1222779cb37c /fs/exec.c | |
parent | a2d34dd41212032c03e77bc30c2023725def841a (diff) | |
download | op-kernel-dev-6e51f857303d02770d5f3ff8f0436487168d0230.zip op-kernel-dev-6e51f857303d02770d5f3ff8f0436487168d0230.tar.gz |
bbc_i2c: fix section mismatch warning
Fix following warning:
WARNING: drivers/sbus/char/bbc.o(.text+0x674): Section mismatch in reference from the function bbc_i2c_probe() to the function .init.text:T.463()
The function bbc_i2c_probe() references the function __init T.463().
This is often because bbc_i2c_probe lacks a __init
annotation or the annotation of T.463 is wrong.
bbc_i2c_probe() referenced the inlined attach_one_i2c().
As probe may be called after init drop __init annotations
on all functions used by bbc_i2c_probe()
The warning was seen with a sparc64 defconfig build
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions