提交 6ef9b297 编写于 作者: A Andy Whitcroft 提交者: Linus Torvalds

checkpatch: types: unary -- goto introduces unary context

When we see a goto we enter unary context.  For example:

	goto *h;
Signed-off-by: NAndy Whitcroft <apw@shadowen.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 beae6332
......@@ -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';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册