public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Anders Roxell <anders.roxell@linaro.org>
Cc: Naresh Kamboju <naresh.kamboju@linaro.org>,
	perf-users <perf-users@linaro.org>,
	open list <linux-kernel@vger.kernel.org>,
	linux-stable <stable@vger.kernel.org>,
	Arnaldo Carvalho de Melo <acme@kernel.org>,
	Ingo Molnar <mingo@redhat.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Sasha Levin <sashal@kernel.org>, Leo Yan <leo.yan@linaro.org>
Subject: Re: perf: bench/sched-messaging.c:73:13: error: 'dummy' may be used uninitialized
Date: Thu, 15 Jul 2021 13:05:58 +0200	[thread overview]
Message-ID: <YPAWlsL4a5uqrDWU@kroah.com> (raw)
In-Reply-To: <CADYN=9+vr=xHsY8yinyWUTN+xyEG=v8-xf4y2psDarFKWDU6xA@mail.gmail.com>

On Tue, Jul 13, 2021 at 05:32:17PM +0200, Anders Roxell wrote:
> On Tue, 13 Jul 2021 at 17:18, Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> wrote:
> >
> > On Tue, Jul 13, 2021 at 08:40:28PM +0530, Naresh Kamboju wrote:
> > > LKFT have noticed these warnings / errors when we have updated gcc version from
> > > gcc-9 to gcc-11 on stable-rc linux-5.4.y branch. I have provided the steps to
> > > reproduce in this email below.
> > >
> > > Following perf builds failed with gcc-11 with linux-5.4.y branch.
> > > - build-arm-gcc-11-perf
> > > - build-arm64-gcc-11-perf
> > > - build-i386-gcc-11-perf
> > > - build-x86-gcc-11-perf
> > >
> > > Build error log:
> > > --------------------
> >
> > <snip>
> >
> > I imagine this is fixed in newer kernel versions, so if you could
> > provide the git ids of the patches needed to fix this up in 5.4, that
> > would be great!
> 
> You were correct, I did a bisect [1] and found
> d493720581a6 ("perf bench: Fix 2 memory sanitizer warnings").
> 
> commit d2c73501a767514b6c85c7feff9457a165d51057 upstream.
> 
> Cherry picked it and I was able to build it on arm64 and x86.

Great, now queued up, thanks.

greg k-h

      reply	other threads:[~2021-07-15 11:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13 15:10 perf: bench/sched-messaging.c:73:13: error: 'dummy' may be used uninitialized Naresh Kamboju
2021-07-13 15:17 ` Greg Kroah-Hartman
2021-07-13 15:32   ` Anders Roxell
2021-07-15 11:05     ` Greg Kroah-Hartman [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=YPAWlsL4a5uqrDWU@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=acme@kernel.org \
    --cc=anders.roxell@linaro.org \
    --cc=leo.yan@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=naresh.kamboju@linaro.org \
    --cc=perf-users@linaro.org \
    --cc=peterz@infradead.org \
    --cc=sashal@kernel.org \
    --cc=stable@vger.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