Re: [PATCH] checkpatch: prevent reporting C99_COMMENTS error for SPDX tag in .c file

2020-06-30 Thread Vadim Bendebury
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

[PATCH] checkpatch: allow reporting C99 style comments

2019-01-10 Thread Vadim Bendebury
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

[PATCH] checkpatch: allow reporting C99 style comments

2019-01-09 Thread Vadim Bendebury
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

[PATCH v4] checkpatch: allow optional shorter config descriptions

2014-09-04 Thread Vadim Bendebury
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

[PATCH v3] checkpatch: allow optional shorter config descriptions

2014-09-04 Thread Vadim Bendebury
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

[PATCH v2] checkpatch: allow optional shorter config descriptions

2014-09-04 Thread Vadim Bendebury
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

[PATCH] checkpatch: allow optional shorter config descriptions

2014-09-03 Thread Vadim Bendebury
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