Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH v2] Documentation: stable: clarify patch series prerequisites
@ 2023-09-11 20:36 Hugo Villeneuve
  2023-09-11 21:11 ` kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: Hugo Villeneuve @ 2023-09-11 20:36 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin, Jonathan Corbet
  Cc: hugo, Hugo Villeneuve, stable, workflows, linux-doc, linux-kernel

From: Hugo Villeneuve <hvilleneuve@dimonoff.com>

Add some clarifications for patches that have dependencies within the
patch series.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
---
Changes since v1: rebase on latest torvalds/master

 Documentation/process/stable-kernel-rules.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Documentation/process/stable-kernel-rules.rst b/Documentation/process/stable-kernel-rules.rst
index 41f1e07abfdf..1704f1c686d0 100644
--- a/Documentation/process/stable-kernel-rules.rst
+++ b/Documentation/process/stable-kernel-rules.rst
@@ -101,6 +101,19 @@ comment:
      git cherry-pick fd21073
      git cherry-pick <this commit>
 
+   Note that for a patch series, you do not have to list as prerequisites the
+   patches present in the series itself. For example, if you have the following
+   patch series:
+
+   .. code-block:: none
+
+     patch1
+     patch2
+
+   where patch2 depends on patch1, you do not have to list patch1 as
+   prerequisite of patch2 if you have already marked patch1 for stable
+   inclusion.
+
  * For patches that may have kernel version prerequisites specify them using
    the following format in the sign-off area:
 

base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] Documentation: stable: clarify patch series prerequisites
  2023-09-11 20:36 [PATCH v2] Documentation: stable: clarify patch series prerequisites Hugo Villeneuve
@ 2023-09-11 21:11 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-09-11 21:11 UTC (permalink / raw)
  To: Hugo Villeneuve; +Cc: stable, oe-kbuild-all

Hi,

Thanks for your patch.

FYI: kernel test robot notices the stable kernel rule is not satisfied.

The check is based on https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html/#option-1

Rule: add the tag "Cc: stable@vger.kernel.org" in the sign-off area to have the patch automatically included in the stable tree.
Subject: [PATCH v2] Documentation: stable: clarify patch series prerequisites
Link: https://lore.kernel.org/stable/20230911203628.20068-1-hugo%40hugovil.com

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-12  3:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-11 20:36 [PATCH v2] Documentation: stable: clarify patch series prerequisites Hugo Villeneuve
2023-09-11 21:11 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox