summaryrefslogtreecommitdiff
path: root/v4l/scripts/check.pl
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/scripts/check.pl')
-rwxr-xr-xv4l/scripts/check.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/scripts/check.pl b/v4l/scripts/check.pl
index 4958e281b..975041c4a 100755
--- a/v4l/scripts/check.pl
+++ b/v4l/scripts/check.pl
@@ -87,6 +87,10 @@ $pwd =~ s|/[^/]+\n$||;
sub print_err()
{
+ if ($err =~ m/LINUX_VERSION_CODE/) {
+ return;
+ }
+
if ($err) {
printf STDERR "%s/%s: In '%s':\n", $pwd, $file, $errline;
printf STDERR "%s/%s:%d: %s\n", $pwd, $file, $ln_numb, $err;