From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Sun, 30 Mar 2014 22:09:08 -0700 Subject: Checkpatch.pl and code cleanup In-Reply-To: References: Message-ID: <20140331050908.GA24763@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Mon, Mar 31, 2014 at 10:15:14AM +0530, Abhijeet Kasurde wrote: > Hi All, > > Pardon me, if this question is asked previously, > > Recently, I came across script in Linux Kernel called 'checkpatch.pl' > which is checks coding style of a patch or file. > > Out of curiosity, I ran script on multiple modules and saw indentation > and other errors in coding style. So question is, Can I fix them or > these errors in coding style are "low hanging fruits" for now ? For some parts of the kernel, checkpatch fixes are gladly accepted, like drivers/staging/*. Other parts, it's harder to get them accepted as the code is old and no one wants to touch it anymore (like scsi drivers.) good luck, greg k-h