summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorChristoph Paasch <christoph.paasch@uclouvain.be>2012-12-06 03:03:12 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-12-07 17:57:13 (GMT)
commitf5f417c063b83ca3de493e79e7d8c9144d9e7368 (patch)
treedfbc290d4eb3910e113d12c865791b22bd9a141b /drivers/net
parentfd3065b25b69ce345073bbd294a73343a608fd8b (diff)
downloadlinux-fsl-qoriq-f5f417c063b83ca3de493e79e7d8c9144d9e7368.tar.xz
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 'drivers/net')
0 files changed, 0 insertions, 0 deletions