Commit d52784eb authored by akpm@linux-foundation.org's avatar akpm@linux-foundation.org Committed by Michal Marek

headers_check: Fix warning text

Fix the warning text too, per Randy.

Cc: Alexander Shishkin <virtuoso@slind.org>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: WANG Cong <amwang@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent de323f22
...@@ -66,8 +66,8 @@ sub check_declarations ...@@ -66,8 +66,8 @@ sub check_declarations
{ {
if ($line =~m/^(\s*extern|unsigned|char|short|int|long|void)\b/) { if ($line =~m/^(\s*extern|unsigned|char|short|int|long|void)\b/) {
printf STDERR "$filename:$lineno: " . printf STDERR "$filename:$lineno: " .
"userspace cannot call function or variable " . "userspace cannot reference function or " .
"defined in the kernel\n"; "variable defined in the kernel\n";
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment