From: Sam Ravnborg Date: Fri, 5 Jun 2009 22:18:05 +0000 (+0200) Subject: kbuild: add hint about __refdata to modpost X-Git-Tag: Ubuntu-goldfish-3.4.0-4.27~11386^2~20 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=8b8b76c045beb85c1c2b28e07eff6599a1e95cf1;p=mirror_ubuntu-zesty-kernel.git kbuild: add hint about __refdata to modpost As requested by Guennadi Liakhovetski Cc: Guennadi Liakhovetski Signed-off-by: Sam Ravnborg --- diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 94e71efb2c14..4522948a012e 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -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)