checkpatch: skip over generated files from glib-mkenums

This commit is contained in:
Thomas Haller 2018-07-11 09:24:11 +02:00
parent 2d28d5d5d4
commit a9d81031f4

View file

@ -116,6 +116,7 @@ if ($is_file and $filename ne $ARGV) {
}
next unless $filename =~ /\.[ch]$/;
next if $filename =~ /\/nm-[^\/]+-enum-types\.[ch]$/;
complain ('Tabs are only allowed at the beginning of a line') if $line =~ /[^\t]\t/;
complain ('Trailing whitespace') if $line =~ /[ \t]$/;