checkpatch: types: unary -- goto introduces unary context
When we see a goto we enter unary context. For example: goto *h; Signed-off-by: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
beae633249
commit
6ef9b297f6
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue