The patch titled From: "Rakib Mullick" <rakib.mullick@xxxxxxxxx> has been added to the -mm tree. Its filename is kernel-profilec-fix-section-mismatch-warning.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: From: "Rakib Mullick" <rakib.mullick@xxxxxxxxx> Impact: Fix section mismatch warning in kernel/profile.c Here, profile_nop function has been called from a non-init function create_hash_tables(void). Which generetes a section mismatch warning. Previously, create_hash_tables(void) was a init function. So, removing __init from create_hash_tables(void) requires profile_nop to be non-init. This patch makes profile_nop function inline and fixes the following warning: WARNING: vmlinux.o(.text+0x6ebb6): Section mismatch in reference from the function create_hash_tables() to the function .init.text:profile_nop() The function create_hash_tables() references the function __init profile_nop(). This is often because create_hash_tables lacks a __init annotation or the annotation of profile_nop is wrong. Signed-off-by: Rakib Mullick <rakib.mullick@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/profile.c~kernel-profilec-fix-section-mismatch-warning kernel/profile.c --- a/kernel/profile.c~kernel-profilec-fix-section-mismatch-warning +++ a/kernel/profile.c @@ -544,7 +544,7 @@ static const struct file_operations proc }; #ifdef CONFIG_SMP -static void __init profile_nop(void *unused) +static inline void profile_nop(void *unused) { } _ Patches currently in -mm which might be from rakib.mullick@xxxxxxxxx are linux-next.patch kernel-profilec-fix-section-mismatch-warning.patch kernel-profilec-fix-section-mismatch-warning-fix.patch init-properly-placing-noinline-keyword.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html