From: Cristian Marussi <cristian.marussi@arm.com>
To: Sudeep Holla <sudeep.holla@arm.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>,
Naresh Kamboju <naresh.kamboju@linaro.org>,
Sasha Levin <sashal@kernel.org>,
linux-stable <stable@vger.kernel.org>,
lkft-triage@lists.linaro.org,
clang-built-linux <llvm@lists.linux.dev>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Arnd Bergmann <arnd@arndb.de>,
Anders Roxell <anders.roxell@linaro.org>
Subject: Re: stable-rc 5.15: clang-17: drivers/firmware/arm_scmi/smc.c:39:6: error: duplicate member 'irq'
Date: Tue, 8 Aug 2023 17:02:26 +0100 [thread overview]
Message-ID: <ZNJnEvXm2SJHfLeB@e120937-lin> (raw)
In-Reply-To: <20230808154432.nwq3yg5xtbtet4rl@bogus>
On Tue, Aug 08, 2023 at 04:44:32PM +0100, Sudeep Holla wrote:
> On Tue, Aug 08, 2023 at 08:30:30AM -0700, Nick Desaulniers wrote:
> > On Tue, Aug 8, 2023 at 3:49 AM Cristian Marussi
> > <cristian.marussi@arm.com> wrote:
> > >
> > > On Tue, Aug 08, 2023 at 11:59:22AM +0530, Naresh Kamboju wrote:
> > > > LKFT build plans upgraded to clang-17 and found this failure,
> > > >
> > > > While building stable-rc 5.15 arm with clang-17 failed with below
> > > > warnings and errors.
> > > >
> > > > Build log:
> > > > ----------
> > > >
> > > > drivers/firmware/arm_scmi/smc.c:39:6: error: duplicate member 'irq'
> > > > 39 | int irq;
> > > > | ^
> > > > drivers/firmware/arm_scmi/smc.c:34:6: note: previous declaration is here
> > > > 34 | int irq;
> > > > | ^
> > > > drivers/firmware/arm_scmi/smc.c:118:20: error: use of undeclared
> > > > identifier 'irq'
> > > > 118 | scmi_info->irq = irq;
> > > > | ^
> > > > 2 errors generated.
> > > >
> > > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> > > >
> > > > Links:
> > > > - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.124-80-g6a5dd0772845/testrun/18864721/suite/build/test/clang-lkftconfig/log
> > > > - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.124-80-g6a5dd0772845/testrun/18864721/suite/build/test/clang-lkftconfig/details/
> > > >
> > >
> > > Hi Naresh and Sasha,
> > >
> > > so this fix (unluckily) applies cleanly to v5.15 but fails to build since the
> > > logic and code around it was different in v5.15.
> > >
> > > While looking at backporting it properly, though, I realized that the fix is
> > > NOT needed really in v5.15 due to the different context and logic, so I ask you
> > > to DROP this fix in v5.15.
> >
> > What's the SHA of the patch that you are referring to (in
> > linux-5.15.y) that you're suggesting the stable maintainers revert?
> >
>
> 8482711670fdfc8f89d437284a6ad159ee88615f
> Commit 8482711670fd ("firmware: arm_scmi: Fix chan_free cleanup on SMC")
>
> For reference upstream commit
> d1ff11d7ad87 ("firmware: arm_scmi: Fix chan_free cleanup on SMC")
>
> Note this is only in
> git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
>
> And not in
>
> git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-5.15.y
Yes, this is a patch that was recently added to the stable queue for 5.15 and
it is still pending AFAIU (I suppose since it failed to build once applied).
There is another previous failed build report from yesterday:
https://lore.kernel.org/all/202308070912.4UYUVJVJ-lkp@intel.com/
Thanks,
Cristian
prev parent reply other threads:[~2023-08-08 16:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-08 6:29 stable-rc 5.15: clang-17: drivers/firmware/arm_scmi/smc.c:39:6: error: duplicate member 'irq' Naresh Kamboju
2023-08-08 10:49 ` Cristian Marussi
2023-08-08 15:30 ` Nick Desaulniers
2023-08-08 15:44 ` Sudeep Holla
2023-08-08 16:02 ` Cristian Marussi [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=ZNJnEvXm2SJHfLeB@e120937-lin \
--to=cristian.marussi@arm.com \
--cc=anders.roxell@linaro.org \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=lkft-triage@lists.linaro.org \
--cc=llvm@lists.linux.dev \
--cc=naresh.kamboju@linaro.org \
--cc=ndesaulniers@google.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=sudeep.holla@arm.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