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

login
register
mail settings
Submitter Bo Shen
Date April 24, 2013, 2:46 a.m.
Message ID <1366771578-18622-2-git-send-email-voice.shen@atmel.com>
Download mbox | patch
Permalink /patch/239034/
State Accepted
Delegated to: Joe Hershberger
Headers show

Comments

Bo Shen - April 24, 2013, 2:46 a.m.
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(+)

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