]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
docs: submitting-patches: suggest adding previous version links
authorSeongJae Park <sj@kernel.org>
Thu, 25 Dec 2025 01:54:45 +0000 (17:54 -0800)
committerJonathan Corbet <corbet@lwn.net>
Tue, 6 Jan 2026 21:52:48 +0000 (14:52 -0700)
For review of patches that revisioned multiple times, patch changelogs
are very useful.  Adding actual links to the previous versions can
further help the review.  Using such links, reviewers can double check
the changelog by themselves, and find previous discussions.  Nowadays
having such links (e.g., lore.kernel.org archive links) is easy and
reliable.  Suggest adding such links if available.

Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20251225015447.16387-1-sj@kernel.org>

Documentation/process/submitting-patches.rst

index 9a509f1a68730c724ba0878de9552110c23f02a6..e69d19ad658fa5d271aeebb857f7a98afb1ff49a 100644 (file)
@@ -805,7 +805,8 @@ not part of the changelog which gets committed to the git tree. It is
 additional information for the reviewers. If it's placed above the
 commit tags, it needs manual interaction to remove it. If it is below
 the separator line, it gets automatically stripped off when applying the
-patch::
+patch.  If available, adding links to previous versions of the patch (e.g.,
+lore.kernel.org archive link) is recommended to help reviewers::
 
   <commit message>
   ...
@@ -814,6 +815,9 @@ patch::
   V2 -> V3: Removed redundant helper function
   V1 -> V2: Cleaned up coding style and addressed review comments
 
+  v2: https://lore.kernel.org/bar
+  v1: https://lore.kernel.org/foo
+
   path/to/file | 5+++--
   ...