Re: [PATCH net-next] r8152: check code with checkpatch.pl

From: David Miller
Date: Mon Aug 25 2014 - 15:59:04 EST


From: Hayes Wang <hayeswang@xxxxxxxxxxx>
Date: Mon, 25 Aug 2014 15:53:00 +0800

> 626: CHECK: Alignment should match open parenthesis
> 646: CHECK: Alignment should match open parenthesis
> 655: CHECK: Alignment should match open parenthesis
> 695: CHECK: Alignment should match open parenthesis
> 729: CHECK: Alignment should match open parenthesis
> 739: CHECK: Alignment should match open parenthesis
> 976: WARNING: externs should be avoided in .c files
> 1314: CHECK: Alignment should match open parenthesis
> 1358: WARNING: networking block comments don't use an empty /* line, use /* Comment...
> 1402: WARNING: networking block comments don't use an empty /* line, use /* Comment...
> 1521: CHECK: multiple assignments should be avoided
> 1775: CHECK: Alignment should match open parenthesis
> 1838: CHECK: multiple assignments should be avoided
> 1843: CHECK: multiple assignments should be avoided
> 1847: CHECK: multiple assignments should be avoided
> 1850: WARNING: Missing a blank line after declarations
> 1864: CHECK: Alignment should match open parenthesis
> 1872: CHECK: braces {} should be used on all arms of this statement
> 1906: CHECK: usleep_range is preferred over udelay
> 2865: WARNING: networking block comments don't use an empty /* line, use /* Comment...
> 3088: CHECK: Alignment should match open parenthesis
> total: 0 errors, 5 warnings, 16 checks, 3567 lines checked
>
> Signed-off-by: Hayes Wang <hayeswang@xxxxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/