[U-Boot] [PATCH 2/2] tools: enable more checkpatch tests by default

Kim Phillips kim.phillips at freescale.com
Thu Feb 28 23:53:53 CET 2013


without this, patches don't get checked for proper alignment,
and e.g., for spaces after a cast and/or before a semicolon.

Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
---
 .checkpatch.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.checkpatch.conf b/.checkpatch.conf
index 977db9e..38386b3 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -12,3 +12,6 @@
 
 # For min/max
 --ignore MINMAX
+
+# enable more tests
+--strict
-- 
1.8.1.4




More information about the U-Boot mailing list