[PATCH] staging: ks7010: Fix coding style errors

Greg KH gregkh at linuxfoundation.org
Sun Oct 16 15:44:37 UTC 2016


On Sun, Oct 16, 2016 at 05:23:51PM +0200, Carlos Maiolino wrote:
> Fixes the following checkpatch.pl errors/warnings:
> 
> WARNING: please, no spaces at the start of a line
> ERROR: space prohibited after that open parenthesis '('
> ERROR: space prohibited before that close parenthesis ')'
> ERROR: space required before the open brace '{'
> ERROR: exactly one space required after that #ifdef
> WARNING: Missing a blank line after declarations
> ERROR: space prohibited after that '&' (ctx:WxW)
> WARNING: braces {} are not necessary for single statement blocks
> CHECK: No space is necessary after a cast
> Signed-off-by: Carlos Maiolino <cmaiolino28 at gmail.com>

That's a lot of different things all done in the same patch.  Please
break it up into "one logical thing per patch" and resend.

Also, we need a blank line before the signed-off-by line in order for
things to work properly.

thanks,

greg k-h


More information about the devel mailing list