]> git.proxmox.com Git - mirror_qemu.git/commit - scripts/checkpatch.pl
scripts/checkpatch.pl: Bug fix
authorSu Hang <suhang16@mails.ucas.ac.cn>
Mon, 26 Mar 2018 02:06:22 +0000 (10:06 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Apr 2018 12:43:08 +0000 (14:43 +0200)
commit053e45d2f3d3eb51799f371a39434699984e9019
tree770d2aef657b1b3c44f6e6400a1c4912f90a3524
parent5cd10051c2e02b7a86eae49919d6c65a87dbea46
scripts/checkpatch.pl: Bug fix

Commit 2b9aef6fcd96ba7ed8c1ee723e391901852d344c introduced a regression:
checkpatch.pl started complaining about the following valid pattern:
do {
     /* something */
} while (condition);

Fix the script to once again permit this pattern.

Signed-off-by: Su Hang <suhang16@mails.ucas.ac.cn>
Message-Id: <1522029982-4650-1-git-send-email-suhang16@mails.ucas.ac.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/checkpatch.pl