kbuild: add hint about __refdata to modpost
authorSam Ravnborg <sam@ravnborg.org>
Fri, 5 Jun 2009 22:18:05 +0000 (00:18 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 9 Jun 2009 20:37:53 +0000 (22:37 +0200)
As requested by Guennadi Liakhovetski

Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.c

index 94e71ef..4522948 100644 (file)
@@ -1196,7 +1196,7 @@ static void report_sec_mismatch(const char *modname, enum mismatch mismatch,
                "The variable %s references\n"
                "the %s %s%s%s\n"
                "If the reference is valid then annotate the\n"
-               "variable with __init* (see linux/init.h) "
+               "variable with __init* or __refdata (see linux/init.h) "
                "or name the variable:\n",
                fromsym, to, sec2annotation(tosec), tosym, to_p);
                while (*s)