Skip to content

Commit 8b8b76c

Browse files
committed
kbuild: add hint about __refdata to modpost
As requested by Guennadi Liakhovetski Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
1 parent 1581c1c commit 8b8b76c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/mod/modpost.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ static void report_sec_mismatch(const char *modname, enum mismatch mismatch,
11961196
"The variable %s references\n"
11971197
"the %s %s%s%s\n"
11981198
"If the reference is valid then annotate the\n"
1199-
"variable with __init* (see linux/init.h) "
1199+
"variable with __init* or __refdata (see linux/init.h) "
12001200
"or name the variable:\n",
12011201
fromsym, to, sec2annotation(tosec), tosym, to_p);
12021202
while (*s)

0 commit comments

Comments
 (0)