mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
de323f22a8
commit
d52784eb36
|
@ -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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue