diff options
| author | Matthieu Baerts <[email protected]> | 2023-04-03 16:23:50 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-18 23:39:32 +0000 |
| commit | d6ccdd678e459fdcfe675a45c76b3f1a75b9a8e8 (patch) | |
| tree | bb1984ac0db7bc0c0dfcaf5f9497f4b10f006f5b /scripts/gdb/vmlinux-gdb.py | |
| parent | checkpatch: allow Closes tags with links (diff) | |
| download | kernel-d6ccdd678e459fdcfe675a45c76b3f1a75b9a8e8.tar.gz kernel-d6ccdd678e459fdcfe675a45c76b3f1a75b9a8e8.zip | |
checkpatch: check for misuse of the link tags
"Link:" and "Closes:" tags have to be used with public URLs.
It is difficult to make sure the link is public but at least we can verify
the tag is followed by 'http(s)://'.
With that, we avoid such a tag that is not allowed [1]:
Closes: <number>
Now that we check the "link" tags are followed by a URL, we can relax the
check linked to "Reported-by being followed by a link tag" to only verify
if a "link" tag is present after the "Reported-by" one.
Link: https://lore.kernel.org/linux-doc/CAHk-=wh0v1EeDV3v8TzK81nDC40=XuTdY2MCr0xy3m3FiBV3+Q@mail.gmail.com/ [1]
Link: https://lkml.kernel.org/r/20230314-doc-checkpatch-closes-tag-v4-5-d26d1fa66f9f@tessares.net
Signed-off-by: Matthieu Baerts <[email protected]>
Acked-by: Joe Perches <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Cc: Bagas Sanjaya <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Dwaipayan Ray <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Kai Wasserbäch <[email protected]>
Cc: Konstantin Ryabitsev <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Lukas Bulwahn <[email protected]>
Cc: Thorsten Leemhuis <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions
