From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sg7YY-0002LW-J9 for qemu-devel@nongnu.org; Sun, 17 Jun 2012 00:57:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sg7YW-00023g-LZ for qemu-devel@nongnu.org; Sun, 17 Jun 2012 00:57:46 -0400 From: Stefan Weil Date: Sun, 17 Jun 2012 06:57:41 +0200 Message-Id: <1339909061-30971-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] checkpatch: Add QEMU specific rule List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial Cc: Stefan Weil , qemu-devel@nongnu.org The new rule detects two wrong variants of QEMU. It was tested with commit b5a8fe5e. Signed-off-by: Stefan Weil --- scripts/checkpatch.pl | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) 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 -- 1.7.0.4