From: Sasha Levin <sashal@kernel.org>
To: Vegard Nossum <vegard.nossum@oracle.com>
Cc: Greg KH <greg@kroah.com>,
"stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: Fwd: Re: [PATCH AUTOSEL 5.6 082/129] compiler.h: fix error in BUILD_BUG_ON() reporting
Date: Thu, 23 Apr 2020 09:22:56 -0400 [thread overview]
Message-ID: <20200423132256.GA6171@sasha-vm> (raw)
In-Reply-To: <aea96721-4b51-ff0c-3da9-660e318654b4@oracle.com>
On Wed, Apr 22, 2020 at 10:53:33AM +0200, Vegard Nossum wrote:
>
>On 4/22/20 10:34 AM, Greg KH wrote:
>>On Wed, Apr 22, 2020 at 10:21:23AM +0200, Vegard Nossum wrote:
>>>
>>>Hi,
>>>
>>>There is no point in taking this patch on any stable kernel as it's just
>>>improving a build error diagnostic message.
>>
>>build error messages are nice to have be correct, don't you think?
>>
>>Seems like a valid fix for me.
>>
>>thanks,
>>
>>greg k-h
>>
>
>The patch will break on gcc 4.2 and earlier, so if the older stable
>kernels support those then people might be surprised. The mainline patch
>was deemed fine since gcc 4.6 is required. More info here:
><https://lkml.org/lkml/2020/3/31/1477>
>
>If no stable kernel is built with gcc <= 4.2 then you can disregard this.
>
>I think the patch also doesn't really satisfy the following criteria
>from stable_kernel_rules.txt:
>
> - "It must fix a real bug that bothers people": It bothered me (and I
>ran into the bug) on mainline, but that was while writing brand new code
>that used BUILD_BUG_ON(). Presumably these things will not fire on
>existing kernel code.
>
> - "It must fix a problem that causes a build error ...": It doesn't fix
>any of the things listed, not even a build error, just a _diagnostic_
>for an incredibly rare case of a rare kind of build error.
>
>In the end, I am not personally opposed to having the patch in stable,
>but it seems to go against everything I've ever heard about stable rules
>so I'm a bit surprised when you take it anyway. I think it might reduce
>people's trust in stable kernels if any random weird patch is taken
>uncritically when even the patch author points out that it doesn't fit
>the criteria!
Hey Vegard,
I'll drop it.
In general, patches that address build issues are easier to rationalize
in the context of stable as the regressions they might cause will be
limited to build time.
--
Thanks,
Sasha
prev parent reply other threads:[~2020-04-23 13:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9b7c57b0-4441-12a1-420d-684a84e97ba0@oracle.com>
2020-04-22 8:21 ` Fwd: Re: [PATCH AUTOSEL 5.6 082/129] compiler.h: fix error in BUILD_BUG_ON() reporting Vegard Nossum
2020-04-22 8:34 ` Greg KH
2020-04-22 8:53 ` Vegard Nossum
2020-04-23 13:22 ` Sasha Levin [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=20200423132256.GA6171@sasha-vm \
--to=sashal@kernel.org \
--cc=greg@kroah.com \
--cc=stable@vger.kernel.org \
--cc=vegard.nossum@oracle.com \
/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;
as well as URLs for NNTP newsgroup(s).