[PATCH] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Jun 1 09:15:53 UTC 2018


On Fri, Jun 01, 2018 at 12:25:43AM +0530, Sankalp Negi wrote:
> This patch fixes following checkpatch.pl issues:
> 
> WARNING : line over 80 characters
> ERROR   : code indent should use tabs where possible
> WARNING : no spaces at the start of a line
> ERROR   : switch and case should be at the same indent
> ERROR   : space required before the open parenthesis
> WARNING : braces {} are not necessary for single statement blocks

Those are all different types of coding style cleanups and should be
done as a patch series, only fixing up one "type" of thing at a time.

thanks,

greg k-h


More information about the devel mailing list