diff options
author | Christoph Paasch <christoph.paasch@uclouvain.be> | 2012-12-06 03:03:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-07 12:57:13 -0500 |
commit | f5f417c063b83ca3de493e79e7d8c9144d9e7368 (patch) | |
tree | dfbc290d4eb3910e113d12c865791b22bd9a141b /arch/c6x/Kconfig | |
parent | fd3065b25b69ce345073bbd294a73343a608fd8b (diff) | |
download | linux-f5f417c063b83ca3de493e79e7d8c9144d9e7368.tar.bz2 |
sctp: Fix compiler warning when CONFIG_DEBUG_SECTION_MISMATCH=y
WARNING: net/sctp/sctp.o(.text+0x72f1): Section mismatch in reference
from the function sctp_net_init() to the function
.init.text:sctp_proc_init()
The function sctp_net_init() references
the function __init sctp_proc_init().
This is often because sctp_net_init lacks a __init
annotation or the annotation of sctp_proc_init is wrong.
And put __net_init after 'int' for sctp_proc_init - as it is done
everywhere else in the sctp-stack.
Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/c6x/Kconfig')
0 files changed, 0 insertions, 0 deletions