mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
checkpatch: Import additional rules from android-msm-2.6.32 to msm-2.6.35
Several checkpatch enhancements are imported from android-msm-2.6.32. These include: commit 83ec26e869ac7e967fd5382f9e1979536897d42a Author: Matt Wagantall <mattw@codeaurora.org> Date: Thu Jun 3 12:28:18 2010 -0700 checkpatch: Exceptions for CLK_* macros and some spaces in macros Add CLK_* macros used in MSM clock drivers to the list of exceptions for the "Macros with complex values should be enclosed in parenthesis" test. Also, allow spaces following open branckets for macros where the macro is the first token on the line, the space preceds a decimal number, and the line ends with ")," or ")". Such arrangements can be useful for aligning numerical columns of tables when the rows are described by macros. Change-Id: I7701119ada2ea8fd646e5448eae51786bbf1e8fa Signed-off-by: Matt Wagantall <mattw@codeaurora.org> commit d3ccf20187826d2cfbf41eda3f9e1a38e35b79bf Author: Rick Adams <rgadams@codeaurora.org> Date: Mon Jan 4 13:06:09 2010 -0800 checkpatch: warn on subject line not followed by blank line Fixed case when no warning generated for long subject line that is wrapped to more than one line, and all lines are less than line limit. New warning message added: "non-blank line after summary line" Now there are two warnings possible for the subject line, the original line over limit and the new one. Depending on the error(s) any combination of the two warnings are possible. Commit text requirements now: 1) Must be less than 75 characters 2) Must be followed by blank line. Change-Id: If7ee833339c5be947bb1dd2a52d5d1d9ddfe5de6 Signed-off-by: Rick Adams <rgadams@codeaurora.org> commit ae617dec94111b127c33ae9c979e51b5bd8b5292 Author: Abhijeet Dharmapurikar <adharmap@codeaurora.org> Date: Thu Oct 1 12:01:44 2009 -0700 checkpatch: check for #if 0/#if 1 Warn if #if 1 or #if 0 is present. Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org> commit 168e8da627f99e421be9375ed572df6b1039854f Author: Abhijeet Dharmapurikar <adharmap@codeaurora.org> Date: Thu Oct 1 12:01:44 2009 -0700 checkpatch: check for execute permissions on non code files Make checkpatch.pl check execute permissions on non code files Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org> commit be24800e1cdd44d8b0e00f212c022f34e1402eb4 Author: Steve Muckle <smuckle@codeaurora.org> Date: Fri Apr 3 16:19:20 2009 -0700 checkpatch: check new files for executable permissions Look for executable permissions on new files as well as in mode changes on existing files. Signed-off-by: Steve Muckle <smuckle@codeaurora.org> commit b45a236b62928e0b11fbeff1471d9b1efc508884 Author: Steve Muckle <smuckle@codeaurora.org> Date: Fri Mar 13 15:46:36 2009 -0700 checkpatch: warn on long summary, commit text lines Warn on summary or commit text lines greater than 75 characters. The summary and commit text are indented and may wrap on a terminal if they are longer than 75 characters. Signed-off-by: Steve Muckle <smuckle@codeaurora.org> Change-Id: Iae92cdc8ffecc5315761bc91e883d8ea2f4877cc Signed-off-by: Matt Wagantall <mattw@codeaurora.org> (cherry picked from commit d17f580ee07441770498b54159e3322f8186fc3e) Conflicts: scripts/checkpatch.pl
This commit is contained in:
parent
d917e71c27
commit
cc32440107
1 changed files with 1 additions and 1 deletions
Loading…
Reference in a new issue