[sheepdog] [PATCH v3 1/2] checkpatch: add more strict checking for block comments

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Mar 25 07:51:17 CET 2013


At Mon, 25 Mar 2013 14:01:41 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> This patch try to uniform the block comments, which gives more
> consistent view to code reviewer.
> 
>  A:
>     /* foo
>      * bar */
>  B:
>     /*
>      * foo
>      * bar */
>  C:
>     /*
>      * one-liner
>      */
>  D:
>     /* one-liner
>      */
>  E:
>     /* foo
>      * bar
>      * baz
>      */
>  A, B, C, D, E is not preferred
> 
>    /*
>     * This block comments style
>     * is preferred
>     */
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  script/checkpatch.pl |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 48 insertions(+)

Applied this series, thanks!

Kazutaka



More information about the sheepdog mailing list