History

Merge tag 'docs-7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/docs/linux

Pull documentation updates from Jonathan Corbet: "It has been a not-too-busy cycle for docs; here's the highlights: - A (hopefully) consensus change to our LLM-attribution requirements, removing the specific model name from the Assisted-by tag - A couple of new realtime documents - Various docs-build-system fixes - Ongoing work with the Chinese, Portuguese, and Japanese translations ...and lots of typo fixes, grammar tweaks, etc" * tag 'docs-7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/docs/linux: (85 commits) Doc: admin-guide: pm: Remove unnecessary backticks and fix a spell Documentation: Extend the real-time hardware bits with some firmware bits docs: pt_BR: Reorganize process/index.rst to follow english structure docs: conf.py: fix the 'utf-8' typo doc tools: fix 'path' typos Documentation: real-time: Add kernel configuration guide docs: python: abi_regex: convert adjacent index placeholders docs: python: abi_regex: catch the right exception for a bad regex docs: sphinx-build-wrapper: include localversion in kernel version string Documentation: html: adjust sidebar section titles styling Documentation: html: show sections in the sidebar checkpatch.pl: adapt to new Assisted-by: format MAINTAINERS: update Traditional Chinese documentation maintainers docs: pt_BR: process: Translate CVE documentation docs: pt_BR: translate the management-style.rst to Brazilian Portuguese docs: xforms_lists: support DEFINE_IDTENTRY_IRQ() coding-assistants: simplify attribution docs: translations: pt_BR: translate email-clients.rst docs: pt_BR: process: Translate the security-bugs.rst doc:it_IT: align doc-guide translation ...

Linus Torvalds committed 2 months ago

Commit 72fdff12 parents 9d2ed02 791e42085 files · +8019 −604Browse files

Showing the changes to scripts (1 of 85 files). Show all

Unified · Split

scripts/checkpatch.pl+4−3
@@ -3124,11 +3124,12 @@ sub process { · 3123 unmodified lines
31243124 }
31253125 }
31263126
3127− # Assisted-by uses AGENT_NAME:MODEL_VERSION format, not email
3127+ # Assisted-by uses a free-form value (e.g. "LLM"), not an
3128+ # email address, so skip the email format checks below.
31283129 if ($sign_off =~ /^Assisted-by:/i) {
3129− if ($email !~ /^\S+:\S+/) {
3130+ if ($email =~ /^\s*$/) {
31303131 WARN("BAD_SIGN_OFF",
3131− "Assisted-by expects 'AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]' format\n" . $herecurr);
3132+ "Assisted-by requires a value\n" . $herecurr);
31323133 }
31333134 next;
31343135 }