aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-02-17 08:12:10 -0500
committerSam Ravnborg <sam@ravnborg.org>2008-02-19 14:45:14 -0500
commitb1d2675a6466090b68d4ef63f9237b4d70a18857 (patch)
treef7112797261dc10f265b9d9cb00d32f9127af97b /scripts/mod
parent00e962c5408b9f2d0bebd2308673fe982cb9a5fe (diff)
kbuild: fix reversed symbol name order in modpost
XXXINIT_TO_INIT and XXXEXIT_TO_EXIT warnings use the reversed symbol name order in the suggestion, e.g.: WARNING: vmlinux.o(.meminit.text+0x36c): Section mismatch in reference from the function free_area_init_core() to the function .init.text:setup_usemap() The function __meminit free_area_init_core() references a function __init setup_usemap(). If free_area_init_core is only used by setup_usemap then annotate free_area_init_core with a matching annotation. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/modpost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 61742771c65d..695b5d657cf5 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1200,7 +1200,7 @@ static void report_sec_mismatch(const char *modname, enum mismatch mismatch,
1200 "annotate %s with a matching annotation.\n", 1200 "annotate %s with a matching annotation.\n",
1201 from, sec2annotation(fromsec), fromsym, from_p, 1201 from, sec2annotation(fromsec), fromsym, from_p,
1202 to, sec2annotation(tosec), tosym, to_p, 1202 to, sec2annotation(tosec), tosym, to_p,
1203 fromsym, tosym, fromsym); 1203 tosym, fromsym, tosym);
1204 break; 1204 break;
1205 case INIT_TO_EXIT: 1205 case INIT_TO_EXIT:
1206 fprintf(stderr, 1206 fprintf(stderr,