From: Andrew Morton <akpm@linux-foundation.org>
To: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>,
Sergey Senozhatsky <senozhatsky@chromium.org>,
Ricardo Ribalda <ribalda@chromium.org>,
Tomasz Figa <tfiga@chromium.org>,
linux-kernel@vger.kernel.org
Subject: Re: [RESEND][PATCH] checkpatch: make sure fix-up patches have Fixes tag
Date: Tue, 25 Jan 2022 17:53:59 -0800 [thread overview]
Message-ID: <20220125175359.9571d0cb36844ebe69583298@linux-foundation.org> (raw)
In-Reply-To: <CAO=4fJPTiNKvru=+qAasMZYUmsGQe+OBH4A2Dd1v-NFdQ8f-Qw@mail.gmail.com>
On Wed, 19 Jan 2022 09:48:32 +0000 Andy Whitcroft <apw@canonical.com> wrote:
> On Wed, Jan 19, 2022 at 9:42 AM Joe Perches <joe@perches.com> wrote:
> >
> > On Wed, 2022-01-19 at 16:46 +0900, Sergey Senozhatsky wrote:
> > > If a patch contains "commit hash (commit name)", in other words
> > > if the patch fixes some particular commit, then require "Fixes:"
> > > tag.
> >
> > I do not like this patch as many commits merely reference a
> > previous patch and do not actually fix anything.
>
> Agree. It would need to be a tighter form of language to be safe to
> automatically suggest a Fixes tag. The point of a Fixes tag is to be
> a semantically safe indicator of this relationship not relying on the
> vagaries of English for that connection.
>
> You might be ok with something which is a tighter match on like
> "fixes <hash> (<name>)" and only suggesting a Fixes.
Also.
stable tree maintainers appear to have the habit of taking anything
which has Fixes and cheerfully backporting it. Sometimes undesirably.
This patch will encourage people to worsen this problem.
I wish this would simply stop, kernel-wide. Make developers and
tree-owners actually *think* about the backport desirability.
If that were the global approach then checkpatch could
a) ask developers if they should have added "Fixes:" (this patch) then
b) if it has "Fixes:", ask developers if they should have added cc:stable.
prev parent reply other threads:[~2022-01-26 1:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-19 7:46 Sergey Senozhatsky
2022-01-19 8:01 ` Sergey Senozhatsky
2022-01-19 9:42 ` Joe Perches
2022-01-19 9:48 ` Andy Whitcroft
2022-01-26 1:53 ` Andrew Morton [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=20220125175359.9571d0cb36844ebe69583298@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=apw@canonical.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ribalda@chromium.org \
--cc=senozhatsky@chromium.org \
--cc=tfiga@chromium.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
Powered by JetHome