diff options
author | Christoph Paasch <christoph.paasch@uclouvain.be> | 2012-12-06 04:03:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-07 18:57:13 +0100 |
commit | f5f417c063b83ca3de493e79e7d8c9144d9e7368 (patch) | |
tree | dfbc290d4eb3910e113d12c865791b22bd9a141b /mm/failslab.c | |
parent | chelsio: remove get_clock and use ktime_get (diff) | |
download | linux-f5f417c063b83ca3de493e79e7d8c9144d9e7368.tar.xz linux-f5f417c063b83ca3de493e79e7d8c9144d9e7368.zip |
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 'mm/failslab.c')
0 files changed, 0 insertions, 0 deletions