From: Stefan Weil Date: Sun, 17 Jun 2012 04:57:41 +0000 (+0200) Subject: checkpatch: Add QEMU specific rule X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~3962^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9964d8f9422e72fc6026049b966544c8e40a7b67;p=sdk%2Femulator%2Fqemu.git checkpatch: Add QEMU specific rule The new rule detects two wrong variants of QEMU. It was tested with commit b5a8fe5e. Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 8850a5f..b98dc6c 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2849,6 +2849,11 @@ sub process { ERROR("lockdep_no_validate class is reserved for device->mutex.\n" . $herecurr); } } + +# QEMU specific tests + if ($rawline =~ /\b(?:Qemu|QEmu)\b/) { + WARN("use QEMU instead of Qemu or QEmu\n" . $herecurr); + } } # If we have no input at all, then there is nothing to report on