summaryrefslogtreecommitdiffstats
path: root/scripts/headers_check.pl
diff options
context:
space:
mode:
authorakpm@linux-foundation.org <akpm@linux-foundation.org>2010-11-30 13:52:14 -0800
committerMichal Marek <mmarek@suse.cz>2010-12-14 17:05:08 +0100
commitd52784eb3607bf887628742f99041b4f18d7d1de (patch)
tree755ec965e484b67ef8cdd47d68cc3c11a2c0ab55 /scripts/headers_check.pl
parentde323f22a83b024b7432e813609c6efb74b1bbfc (diff)
downloadop-kernel-dev-d52784eb3607bf887628742f99041b4f18d7d1de.zip
op-kernel-dev-d52784eb3607bf887628742f99041b4f18d7d1de.tar.gz
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 e0e25a1..7957e7a 100644
--- a/scripts/headers_check.pl
+++ b/scripts/headers_check.pl
@@ -66,8 +66,8 @@ sub check_declarations
{
if ($line =~m/^(\s*extern|unsigned|char|short|int|long|void)\b/) {
printf STDERR "$filename:$lineno: " .
- "userspace cannot call function or variable " .
- "defined in the kernel\n";
+ "userspace cannot reference function or " .
+ "variable defined in the kernel\n";
}
}
OpenPOWER on IntegriCloud