From: Sasha Levin <sashal@kernel.org>
To: Jinpu Wang <jinpu.wang@cloud.ionos.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
stable <stable@vger.kernel.org>
Subject: Re: [stable queue/5.4] build errors on queue/5.4
Date: Mon, 28 Sep 2020 18:11:31 -0400 [thread overview]
Message-ID: <20200928221131.GF2219727@sasha-vm> (raw)
In-Reply-To: <CAMGffEnTKBjKq7xLxFBPcigwrA4=LM+M_EL+tGYS_oZeY=2ywA@mail.gmail.com>
On Mon, Sep 28, 2020 at 10:55:03AM +0200, Jinpu Wang wrote:
>Hi Sasha,
>
>I noticed build error on latest stable-rc/queue/5.4 branch:
>
>util/parse-events.c: In function 'parse_events_add_pmu':
>util/parse-events.c:1373:11: error: 'struct perf_evsel_config_term'
>has no member named 'free_str'
> if (pos->free_str)
> ^~
>In file included from util/parse-events.c:4:
>util/parse-events.c:1374:20: error: 'union <anonymous>' has no member
>named 'str'
> zfree(&pos->val.str);
> ^
>/<<PKGBUILDDIR>>/tools/include/linux/zalloc.h:10:38: note: in
>definition of macro 'zfree'
> #define zfree(ptr) __zfree((void **)(ptr))
>
>revert both
>d6ac1bd91161 ("perf parse-events: Fix incorrect conversion of 'if ()
>free()' to 'zfree()'")
>b6f48cb0c18b ("perf parse-events: Fix memory leaks found on parse_events")
>
>Fixed the problem.
Fixed up, thanks!
--
Thanks,
Sasha
prev parent reply other threads:[~2020-09-28 23:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-28 8:55 [stable queue/5.4] build errors on queue/5.4 Jinpu Wang
2020-09-28 22:11 ` 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=20200928221131.GF2219727@sasha-vm \
--to=sashal@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jinpu.wang@cloud.ionos.com \
--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