aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/headers_check.pl
diff options
context:
space:
mode:
authorakpm@linux-foundation.org <akpm@linux-foundation.org>2010-11-30 16:52:14 -0500
committerMichal Marek <mmarek@suse.cz>2010-12-14 11:05:08 -0500
commitd52784eb3607bf887628742f99041b4f18d7d1de (patch)
tree755ec965e484b67ef8cdd47d68cc3c11a2c0ab55 /scripts/headers_check.pl
parentde323f22a83b024b7432e813609c6efb74b1bbfc (diff)
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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/headers_check.pl')
-rw-r--r--scripts/headers_check.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/headers_check.pl b/scripts/headers_check.pl
index e0e25a1c2c12..7957e7a5166a 100644
--- a/scripts/headers_check.pl
+++ b/scripts/headers_check.pl
@@ -66,8 +66,8 @@ sub check_declarations
66{ 66{
67 if ($line =~m/^(\s*extern|unsigned|char|short|int|long|void)\b/) { 67 if ($line =~m/^(\s*extern|unsigned|char|short|int|long|void)\b/) {
68 printf STDERR "$filename:$lineno: " . 68 printf STDERR "$filename:$lineno: " .
69 "userspace cannot call function or variable " . 69 "userspace cannot reference function or " .
70 "defined in the kernel\n"; 70 "variable defined in the kernel\n";
71 } 71 }
72} 72}
73 73