]> git.ipfire.org Git - thirdparty/qemu.git/commit
scripts/checkpatch.pl: don't complain about (foo, /* empty */)
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 17 Oct 2019 11:58:17 +0000 (12:58 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 28 Oct 2019 15:12:38 +0000 (15:12 +0000)
commitca68668d27ea024fb7bbb7baf2c573550181ec23
tree77d1267b5522a4d01da8e584c14bbca33db1799b
parent4fbddb5d965837c85ba23b06b346b10dd294d5ff
scripts/checkpatch.pl: don't complain about (foo, /* empty */)

It's quite common to have a mini comment inside braces to acknowledge
we know it's empty. Expand the inline detection to allow closing
braces before the end of line.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Aaron Lindsay <aaron@os.amperecomputing.com>
scripts/checkpatch.pl