projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
KVM: PPC: Book3S PR: Expose TAR facility to guest
[firefly-linux-kernel-4.4.55.git]
/
scripts
/
headers_check.pl
diff --git
a/scripts/headers_check.pl
b/scripts/headers_check.pl
index 64ac2380e4d52c91de87df2d2f222c978ad39bee..62320f93e903edeceab7c7e621b750647d0ca75a 100644
(file)
--- a/
scripts/headers_check.pl
+++ b/
scripts/headers_check.pl
@@
-65,7
+65,11
@@
sub check_include
sub check_declarations
{
sub check_declarations
{
- if ($line =~m/^(\s*extern|unsigned|char|short|int|long|void)\b/) {
+ # soundcard.h is what it is
+ if ($line =~ m/^void seqbuf_dump\(void\);/) {
+ return;
+ }
+ if ($line =~ m/^(\s*extern|unsigned|char|short|int|long|void)\b/) {
printf STDERR "$filename:$lineno: " .
"userspace cannot reference function or " .
"variable defined in the kernel\n";
printf STDERR "$filename:$lineno: " .
"userspace cannot reference function or " .
"variable defined in the kernel\n";