]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/checkpatch.pl
checkpatch: types: unary -- goto introduces unary context
[linux-2.6-omap-h63xx.git] / scripts / checkpatch.pl
index 94250d1a3a471ad5721c84dab4bd1b67370a02df..b2b0648ee14a48f43a0172767c14f8340b6ff3e0 100755 (executable)
@@ -780,7 +780,7 @@ sub annotate_values {
                        $av_pending = 'N';
                        $type = 'N';
 
-               } elsif ($cur =~/^(return|case|else)/o) {
+               } elsif ($cur =~/^(return|case|else|goto)/o) {
                        print "KEYWORD($1)\n" if ($dbg_values > 1);
                        $type = 'N';