Loading scripts/checkpatch.pl +4 −2 Original line number Diff line number Diff line Loading @@ -2193,8 +2193,10 @@ sub process { } # check for DT compatible documentation if (defined $root && $realfile =~ /\.dts/ && $rawline =~ /^\+\s*compatible\s*=/) { if (defined $root && (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) || ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) { my @compats = $rawline =~ /\"([a-zA-Z0-9\-\,\.\+_]+)\"/g; foreach my $compat (@compats) { Loading Loading
scripts/checkpatch.pl +4 −2 Original line number Diff line number Diff line Loading @@ -2193,8 +2193,10 @@ sub process { } # check for DT compatible documentation if (defined $root && $realfile =~ /\.dts/ && $rawline =~ /^\+\s*compatible\s*=/) { if (defined $root && (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) || ($realfile =~ /\.[ch]$/ && $line =~ /^\+.*\.compatible\s*=\s*\"/))) { my @compats = $rawline =~ /\"([a-zA-Z0-9\-\,\.\+_]+)\"/g; foreach my $compat (@compats) { Loading