aboutsummaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
authorGravatar Matthieu Baerts <matthieu.baerts@tessares.net> 2023-04-03 18:23:50 +0200
committerGravatar Andrew Morton <akpm@linux-foundation.org> 2023-04-18 16:39:32 -0700
commitd6ccdd678e459fdcfe675a45c76b3f1a75b9a8e8 (patch)
treebb1984ac0db7bc0c0dfcaf5f9497f4b10f006f5b /fs/proc
parentcheckpatch: allow Closes tags with links (diff)
downloadlinux-d6ccdd678e459fdcfe675a45c76b3f1a75b9a8e8.tar.gz
linux-d6ccdd678e459fdcfe675a45c76b3f1a75b9a8e8.tar.bz2
linux-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 <matthieu.baerts@tessares.net> Acked-by: Joe Perches <joe@perches.com> Cc: Andy Whitcroft <apw@canonical.com> Cc: Bagas Sanjaya <bagasdotme@gmail.com> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: David Airlie <airlied@gmail.com> Cc: Dwaipayan Ray <dwaipayanray1@gmail.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Kai Wasserbäch <kai@dev.carbon-project.org> Cc: Konstantin Ryabitsev <konstantin@linuxfoundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com> Cc: Thorsten Leemhuis <linux@leemhuis.info> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions