From: Christoph Paasch Date: Thu, 6 Dec 2012 03:03:12 +0000 (+0000) Subject: sctp: Fix compiler warning when CONFIG_DEBUG_SECTION_MISMATCH=y X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5f417c063b83ca3de493e79e7d8c9144d9e7368;p=pandora-kernel.git 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 Acked-by: Neil Horman Acked-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed