From: Leon Romanovsky <leon@kernel.org>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: tools@linux.kernel.org
Subject: Re: Please return trailer-order option
Date: Sat, 3 Sep 2022 09:31:41 +0300 [thread overview]
Message-ID: <YxL0zcfGrUeUK6S5@unreal> (raw)
In-Reply-To: <20220902144033.g2yzsvnuw5p7lk76@meerkat.local>
On Fri, Sep 02, 2022 at 10:40:33AM -0400, Konstantin Ryabitsev wrote:
> On Fri, Sep 02, 2022 at 01:25:36PM +0300, Leon Romanovsky wrote:
> > I tried latest b4 with the following config:
> > [b4]
> > trailer-order = "Cc,Fixes*,Link*,Suggested*,Reviewed*,Tested*,*"
> >
> > ➜ kernel git:(tmp) ~/src/b4/b4.sh shazam -l -s https://lore.kernel.org/all/20220901202645.1463552-1-irogers@google.com
> > Grabbing thread from lore.kernel.org/all/20220901202645.1463552-1-irogers%40google.com/t.mbox.gz
> > Checking for newer revisions on https://lore.kernel.org/all/
> > Analyzing 2 messages in the thread
> > Checking attestation on all messages, may take a moment...
> > ---
> > [PATCH v1] selftests/xsk: Avoid use-after-free on ctx
> > + Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
> > + Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> > ---
> > NOTE: install dkimpy for DKIM signature verification
> > ---
> > Total patches: 1
> > ---
> > Applying: selftests/xsk: Avoid use-after-free on ctx
> >
> > The end result as an outcome of 1 is:
> > Fixes: 39e940d4abfa ("selftests/xsk: Destroy BPF resources only when ctx refcount drops to 0")
> > Signed-off-by: Ian Rogers <irogers@google.com>
> > Link: https://lore.kernel.org/r/20220901202645.1463552-1-irogers@google.com
> > Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
> > Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> >
> > While I would like to see Link being below Fixes line:
> > Fixes: 39e940d4abfa ("selftests/xsk: Destroy BPF resources only when ctx refcount drops to 0")
> > Link: https://lore.kernel.org/r/20220901202645.1463552-1-irogers@google.com
> > Signed-off-by: Ian Rogers <irogers@google.com>
> > Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
> > Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
>
> Right, this is the intended change in behaviour -- we don't want to touch
> anything that's above the Signed-off-by that doesn't belong to you. I see why
> you want to move the Link: line above Ian's SoB (to indicate that it's his
> message), but I think from the point of view of chain-of-custody it really
> belongs under it:
>
> Fixes: 39e940d4abfa ("selftests/xsk: Destroy BPF resources only when ctx refcount drops to 0")
> Signed-off-by: Ian Rogers <irogers@google.com>
>
> This is Ian saying that he's signing off on anything above this trailer. If we
> move Link: above his signoff, this would indicate that he's also signing off
> on the contents of that URL, but that would be putting words in his mouth. If
> we put the Link under it, though, this indicates where *you* got the message, so
> it really belongs in your own custody section:
>
> Link: https://lore.kernel.org/r/20220901202645.1463552-1-irogers@google.com
>
> "I got this message at this URL"
>
> Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
>
> "I also collected this Acked-by, which can also be found at that URL"
>
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
>
> "I am signing off on anything above this line"
>
> Hope this helps explain the reasoning.
Yeah, it explains, the thing is that pure chain-of-custody exists only in
flows that mostly based on pull request.
In my subsystem case, we fix many of submitted patches (spelling,
grammar, coding style and sometimes code itself), because for us the end
goal (having fix/patch merged) is more important than process. We don't want
to scare casual developers with strict rules, of course, the more experienced
submitter, the less tolerant toward his mistakes.
So in my mind, commit message structure is: "Subject, message, Cc, Fixes,
Link, various *-off-by".
Thanks
>
> -Konstantin
prev parent reply other threads:[~2022-09-03 6:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <YtZZE/6BOR5m86Kq@unreal>
[not found] ` <7bb8b97f-dc03-41af-866e-767e4c15df62@www.fastmail.com>
[not found] ` <20220728171351.4v65ytd2s5wp2lb7@meerkat.local>
[not found] ` <20c1ca09-58e8-4ed4-a586-871a2daad70f@www.fastmail.com>
2022-09-01 21:40 ` Please return trailer-order option Konstantin Ryabitsev
2022-09-02 10:25 ` Leon Romanovsky
2022-09-02 14:40 ` Konstantin Ryabitsev
2022-09-03 6:31 ` Leon Romanovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YxL0zcfGrUeUK6S5@unreal \
--to=leon@kernel.org \
--cc=konstantin@linuxfoundation.org \
--cc=tools@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox