diff mbox

[U-Boot,v2,1/3] checkpatch: add ignore for network block comment style checking

Message ID 1366771578-18622-2-git-send-email-voice.shen@atmel.com
State Accepted
Delegated to: Joe Hershberger
Headers show

Commit Message

Bo Shen April 24, 2013, 2:46 a.m. UTC
When use checkpatch.pl to check network related patch, it will report
--->8---
WARNING: networking block comments don't use an empty /* line,
use /* Comment...
---<8---

So, add --ignore NETWORKING_BLOCK_COMMENT_STYLE into .checkpatch.conf
This will help to keep all driver include network related driver use
the same comment style

Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
Change in v2
  New patch added
---
 .checkpatch.conf |    3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/.checkpatch.conf b/.checkpatch.conf
index d88af57..35167e1 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -18,3 +18,6 @@ 
 
 # Not Linux, so we don't recommend usleep_range() over udelay()
 --ignore USLEEP_RANGE
+
+# Ignore networking block comment style
+--ignore NETWORKING_BLOCK_COMMENT_STYLE