From b646968336d4180bdd7d2e24209708dcee6ba400 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Thu, 20 Jan 2011 20:58:56 +0000 Subject: checkpatch: adjust to QEMUisms Change checkpatch.pl for QEMU use: - Root directory detection - Forbid tabs - Indent at 4 spaces - Allow typedefs - Enforce brace use even for single statement blocks - Don't suggest nonexistent cleanup tools Mention the script in CODING_STYLE. Signed-off-by: Blue Swirl --- CODING_STYLE | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CODING_STYLE') diff --git a/CODING_STYLE b/CODING_STYLE index 2c8268ddc2..5ecfa22161 100644 --- a/CODING_STYLE +++ b/CODING_STYLE @@ -1,6 +1,9 @@ Qemu Coding Style ================= +Please use the script checkpatch.pl in the scripts directory to check +patches before submitting. + 1. Whitespace Of course, the most important aspect in any coding style is whitespace. -- cgit v1.2.1