Skip to contentSkip to conversation

devtools: ignore new warnings on reported-by tag

PATCH Applied Dariusz Sosnowski 2 participants 2 messages Nov 14, 2025 – Nov 29, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 devtools: ignore new warnings on reported-by tag

There were 2 changes introduced in checkpatch.pl script [1][2] which verify if Reported-by tag is followed by Link or Closes tag. Example of the warning output:

WARNING:BAD_REPORTED_BY_LINK:
Reported-by: should be immediately followed by Closes:
with a URL to the report

Original purpose is to link the patch to the mailing list discussion and/or a bug report.

Since Link and Closes tag are not mandated in commit messages where Reported-by tag is used, the warning about lack of Link/Closes tags can be suppressed.

[1]: https://github.com/torvalds/linux/commit/d7f1d71e5ef630ab9e15b5821d297a9e1a5fa1da
[2]: https://github.com/torvalds/linux/commit/44c31888098a590b8ec5ba37009e5a983f7c4b46

---
v2:
- Rebased on top of latest commit in main branch.
- Reworded the commit message

 devtools/checkpatches.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
devtools/checkpatches.sh +1 -1
index 9fb8fd0a07..614cd7c32b 100755
@@ -33,7 +33,7 @@ VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,STRLCPY,\
 PREFER_KERNEL_TYPES,PREFER_FALLTHROUGH,BIT_MACRO,CONST_STRUCT,\
 SPLIT_STRING,LONG_LINE_STRING,C99_COMMENT_TOLERANCE,\
 LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\
-NEW_TYPEDEFS,COMPARISON_TO_NULL,AVOID_BUG,EXPORT_SYMBOL"
+NEW_TYPEDEFS,COMPARISON_TO_NULL,AVOID_BUG,EXPORT_SYMBOL,BAD_REPORTED_BY_LINK"
 options="$options $DPDK_CHECKPATCH_OPTIONS"
 
 print_usage () {

--
2.39.5

#1 lore raw

14/11/2025 21:06, Dariusz Sosnowski:

Quoted 15 lines

There were 2 changes introduced in checkpatch.pl script [1][2] which verify if Reported-by tag is followed by Link or Closes tag. Example of the warning output:

WARNING:BAD_REPORTED_BY_LINK:
Reported-by: should be immediately followed by Closes:
with a URL to the report

Original purpose is to link the patch to the mailing list discussion and/or a bug report.

Since Link and Closes tag are not mandated in commit messages where Reported-by tag is used, the warning about lack of Link/Closes tags can be suppressed.

Quoted 5 lines

[1]: https://github.com/torvalds/linux/commit/d7f1d71e5ef630ab9e15b5821d297a9e1a5fa1da
[2]: https://github.com/torvalds/linux/commit/44c31888098a590b8ec5ba37009e5a983f7c4b46

Applied, thanks.