| #
3ce3ce07 |
| 12-Jul-2019 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "Re-apply GIT_COMMIT_ID check for checkpatch" into integration
|
| #
cf57ff8b |
| 12-Jul-2019 |
John Tsichritzis <john.tsichritzis@arm.com> |
Re-apply GIT_COMMIT_ID check for checkpatch
As it turns out, Gerrit's merge commits don't always respect that format so these mistakes have to be ignored as false positives.
Change-Id: I4e38d9c34c9
Re-apply GIT_COMMIT_ID check for checkpatch
As it turns out, Gerrit's merge commits don't always respect that format so these mistakes have to be ignored as false positives.
Change-Id: I4e38d9c34c95588e7916fba4c154f017d8c92dec Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
show more ...
|
| #
a83d8d2c |
| 09-Jul-2019 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge changes from topic "jts/reword" into integration
* changes: docs: removing references to GitHub Change checkpatch.conf after migration to tf.org
|
| #
65b5a4b9 |
| 05-Jul-2019 |
John Tsichritzis <john.tsichritzis@arm.com> |
Change checkpatch.conf after migration to tf.org
A specific checkpatch setting was used because of GitHub. This necessity doesn't exist anymore.
Change-Id: Ie2225a5cb88654f3b7407e43e0a48fafa9a9165c
Change checkpatch.conf after migration to tf.org
A specific checkpatch setting was used because of GitHub. This necessity doesn't exist anymore.
Change-Id: Ie2225a5cb88654f3b7407e43e0a48fafa9a9165c Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
show more ...
|
| #
36a540d6 |
| 13-Mar-2019 |
Dimitris Papastamos <dimitris.papastamos@arm.com> |
Merge pull request #1861 from Yann-lms/checkpatch
Update checkpatch options
|
| #
89d1d372 |
| 08-Mar-2019 |
Yann Gautier <yann.gautier@st.com> |
Remove some warnings when using checkpatch with --strict option
Some checks are ignored as they do not match TF-A coding rules: PREFER_KERNEL_TYPES, USLEEP_RANGE or MISRA: COMPARISON_TO_NULL, UNNECE
Remove some warnings when using checkpatch with --strict option
Some checks are ignored as they do not match TF-A coding rules: PREFER_KERNEL_TYPES, USLEEP_RANGE or MISRA: COMPARISON_TO_NULL, UNNECESSARY_PARENTHESES
Change-Id: I335ede89fc872a6169028552d1ba9312fc61a0ba Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| #
d4abda29 |
| 06-Mar-2019 |
Yann Gautier <yann.gautier@st.com> |
.checkpatch.conf: ignore BRACES warnings
MISRA C:2012 Rule 15.6 asks to have braces for the body of an if, for, or while statement. This conflicts with checkpatch, and the warning should then be ign
.checkpatch.conf: ignore BRACES warnings
MISRA C:2012 Rule 15.6 asks to have braces for the body of an if, for, or while statement. This conflicts with checkpatch, and the warning should then be ignored.
Change-Id: I22589b68b03f19a426d3bcbc10a99d4e4c76eced Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| #
c8765826 |
| 19-Dec-2018 |
Antonio Niño Díaz <antonio.ninodiaz@arm.com> |
Merge pull request #1730 from antonio-nino-diaz-arm/an/spdx
Use SPDX identifier in checkpatch config file
|
| #
205bd569 |
| 19-Dec-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
Use SPDX identifier in checkpatch config file
Change-Id: I4113604ac69ba07bd90d8268be65cae8aa43138e Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
|
| #
b14c355e |
| 03-May-2018 |
danh-arm <dan.handley@arm.com> |
Merge pull request #1366 from antonio-nino-diaz-arm/an/ignore-spdx
checkpatch: Ignore SPDX_LICENSE_TAG
|
| #
90582e4d |
| 27-Apr-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
checkpatch: Ignore SPDX_LICENSE_TAG
The Linux kernel expects the SPDX license tag in the first line of each source code file in a comment.
In the context of the Linux kernel repository this makes s
checkpatch: Ignore SPDX_LICENSE_TAG
The Linux kernel expects the SPDX license tag in the first line of each source code file in a comment.
In the context of the Linux kernel repository this makes sense because they have many different license headers across their codebase. Moving the tag to the first line of the source code files makes it easier for analyzers to see the license of each file.
In the Trusted Firmware, we control all headers and make sure that they follow the same pattern, so this is not needed.
Change-Id: Ie19802c7b65b1bdd63da9ece64311aec1f8ad7fe Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| #
693e278e |
| 01-Feb-2018 |
davidcunado-arm <david.cunado@arm.com> |
Merge pull request #1245 from antonio-nino-diaz-arm/an/checkpatch
Analyze coding style of patches individually
|
| #
51d28937 |
| 29-Jan-2018 |
Antonio Nino Diaz <antonio.ninodiaz@arm.com> |
Analyze coding style of patches individually
With the old system `checkpatch.pl` gets one sole input that consists of the commit message and commit diff of each commit between BASE_COMMIT and HEAD.
Analyze coding style of patches individually
With the old system `checkpatch.pl` gets one sole input that consists of the commit message and commit diff of each commit between BASE_COMMIT and HEAD. It also filters out changes in some files, which makes `git format-patch` completely ignore that commit, even the commit message.
With the new system the commit message and commit diff are analyzed separately. This means that, even if all the files modified by a commit are filtered out, the commit message will still be analyzed.
Also, all commits are analyzed individually. This way it's easier to know which commit caused the problem, and there are no warnings about repeated "Signed-off-by" lines.
Change-Id: Ic676a0b76801bb2607141a8d73dc3a942dc01c0e Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
|
| #
869605ab |
| 27-Oct-2016 |
davidcunado-arm <david.cunado@arm.com> |
Merge pull request #741 from sandrine-bailleux-arm/sb/checkpatch-signoff
Mandate 'Signed-off-by' line in commit messages
|
| #
8c0e51eb |
| 24-Oct-2016 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Mandate 'Signed-off-by' line in commit messages
This patch updates the configuration file for the checkpatch.pl script to check for the presence of a 'Signed-off-by' line in the commit message. This
Mandate 'Signed-off-by' line in commit messages
This patch updates the configuration file for the checkpatch.pl script to check for the presence of a 'Signed-off-by' line in the commit message. This is now required by TF contribution process.
Change-Id: I8bcd6d39a5dcd85547244d60c10a7cd2148c404f
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
show more ...
|
| #
174baeed |
| 08-Jun-2016 |
danh-arm <dan.handley@arm.com> |
Merge pull request #643 from sandrine-bailleux-arm/sb/checkpatch-conf-file
Move checkpatch options in a configuration file
|
| #
f607739c |
| 02-Jun-2016 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Move checkpatch options in a configuration file
At the moment, the top Makefile specifies the options to pass to the checkpatch script in order to check the coding style. The checkpatch script also
Move checkpatch options in a configuration file
At the moment, the top Makefile specifies the options to pass to the checkpatch script in order to check the coding style. The checkpatch script also supports reading its options from a configuration file rather than from the command line.
This patch makes use of this feature and moves the checkpatch options out of the Makefile. This simplifies the Makefile and makes things clearer.
This patch also adds some more checkpatch options: --showfile --ignore FILE_PATH_CHANGES --ignore AVOID_EXTERNS --ignore NEW_TYPEDEFS --ignore VOLATILE The rationale behind each of these options has been documented in the configuration file.
Change-Id: I423e1abe5670c0f57046cbf705f89a8463898676
show more ...
|