On Fri, May 04, 2018 at 03:31:17PM +0300, Jani Nikula wrote: > On Fri, 04 May 2018, David Howells <dhowe...@redhat.com> wrote: > > Sasha Levin via Ksummit-discuss wrote: > > > >> Cc: sta...@vger.kernel.org # commit-id-of-(2) > > This has been documented since > > commit 8e9b9362266dd16255473c080d846b13e27247bf > Author: Sebastian Andrzej Siewior <sebast...@breakpoint.cc> > Date: Sun Dec 6 12:24:31 2009 +0100 > > Doc/stable rules: add new cherry-pick logic > > in v2.6.33 so seems like there should have been enough time to fix the > tools.
The problem is that it's not being *used* that way. In fact, that documentation is arguably out of date. When it does get used, it's used to indicate which kernels the stable patch applies. You have to go pretty far back before you find that suggested usage. Run: git log --grep sta...@kernel.org | grep -i cc: | grep stable | grep \# and see for yourself. The first couple of hits: Cc: sta...@kernel.org # 3.11 Cc: sta...@kernel.org # 4.8+ Cc: sta...@kernel.org # 4.8+ Cc: sta...@kernel.org # 4.13+ Cc: sta...@kernel.org # 4.8+ Cc: sta...@kernel.org # 4.13 - together with 890da9cf0983 Cc: sta...@kernel.org # 4.13 Cc: sta...@kernel.org # 4.13 Cc: sta...@kernel.org # v4.8+ Cc: sta...@kernel.org # v4.10+ Cc: sta...@kernel.org # v4.10+ Cc: sta...@kernel.org # v4.10+ Cc: sta...@kernel.org # reverted commits were marked for stable Cc: sta...@kernel.org # for the backport of the original commit Cc: sta...@kernel.org # v4.8+ At this point, my suggestion would be to delete the text added by the above-mentioned commit, and add a new syntax. We're much more willing to support multiple headers, so something like this: Stable-prereq: DEADBEEF1234: subsystem: bork bork bork.... With multiple Stable-preeq: lines allowed, where the order is significant, might be one way to do things. - Ted