On Tue, Jun 30, 2020 at 7:47 AM Joe Perches wrote:
>
> (adding Vadem Bendebury who added the tolerance test)
>
> On Tue, 2020-06-30 at 15:35 +0100, Quentin Monnet wrote:
> > When checkpatch.pl is invoked with "--ignore C99_COMMENT_TOLERANCE", it
> > reports C99-style comments found in the code, by
the --ignore command line or config file options
list, C99 comments in the patch are reported as errors.
Tested by processing a patch with a C99 style comment, it passes the
check just fine unless '--ignore C99_COMMENT_TOLERANCE' is present in
.checkpatch.conf.
Signed-off-by: Vadim
the --ignore command line or config file options
list, C99 comments in the patch are reported as errors.
Tested by processing a patch with a C99 style comment, it passes the
check just fine unless '--ignore C99_COMMENT_TOLERANCE' is present in
.checkpatch.conf.
Signed-off-by: Vadim
description. The script generated a warning when invoked as is, and
did not generate it when invoked with --min-conf-desc-length=2.
Signed-off-by: Vadim Bendebury
---
Changes in v4:
- added the missing trailing semicolon. Re-tested to verify that it
still works as expected.
Changes in v3
description. The script generated a warning when invoked as is, and
did not generate it when invoked with --min-conf-desc-length=2.
Signed-off-by: Vadim Bendebury
---
Changes in v3:
- fixed the indentation problem
scripts/checkpatch.pl | 9 +++--
1 file changed, 7 insertions(+), 2
description. The script generated a warning when invoked as is, and
did not generate it when invoked with --min-conf-desc-length=2.
Signed-off-by: Vadim Bendebury
---
Changes in v2:
- modified the condition check as requested
scripts/checkpatch.pl | 9 +++--
1 file changed, 7 insertions
description. The script generated a warning when invoked as is, and
did not generate it when invoked with --min-conf-desc-length=2.
Signed-off-by: Vadim Bendebury
---
scripts/checkpatch.pl | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts
7 matches
Mail list logo