]> git.proxmox.com Git - qemu.git/commit
checkpatch: fix braces {} handling
authorPavel Borzenkov <pavel.borzenkov@gmail.com>
Fri, 26 Aug 2011 13:34:37 +0000 (17:34 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 27 Aug 2011 15:44:16 +0000 (15:44 +0000)
commit01c4330b58909612ac202573da6e1a872b8bb0ad
tree688c70b2e62ce1b99cb42bcdf65a5f6432625992
parent8733f6093c2b77502e7228503fc22024e51599b8
checkpatch: fix braces {} handling

checkpatch.pl doesn't report warning for if/else statements with missing
'else' braces:

if (something) {
    foo;
} else
    bar;

The patch has been tested using the last 100 commits.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
scripts/checkpatch.pl