From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Ian Rogers <irogers@google.com>
Cc: cgel.zte@gmail.com, mingo@redhat.com, mark.rutland@arm.com,
alexander.shishkin@linux.intel.com, jolsa@redhat.com,
namhyung@kernel.org, james.clark@arm.com,
linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org,
Lv Ruyi <lv.ruyi@zte.com.cn>, Zeal Robot <zealci@zte.com.cn>
Subject: Re: [PATCH] perf cpumap: remove duplicate include in cpumap.h
Date: Sat, 22 Jan 2022 17:13:51 -0300 [thread overview]
Message-ID: <Yexlf2Fuk6BZVuzp@kernel.org> (raw)
In-Reply-To: <CAP-5=fXxwCjcsej5QJMoAz1kvoy5LLKUDMop0GzBMuj8oc3mmA@mail.gmail.com>
Em Mon, Jan 17, 2022 at 08:31:12AM -0800, Ian Rogers escreveu:
> On Mon, Jan 17, 2022 at 12:37 AM <cgel.zte@gmail.com> wrote:
> >
> > From: Lv Ruyi <lv.ruyi@zte.com.cn>
> >
> > Remove all but the first include of stdbool.h from cpumap.h.
> >
> > Reported-by: Zeal Robot <zealci@zte.com.cn>
> > Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
> > Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
>
> Acked-by: Ian Rogers <irogers@google.com>
Thanks, applied.
- Arnaldo
> Thanks,
> Ian
>
> > ---
> > tools/perf/util/cpumap.h | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/tools/perf/util/cpumap.h b/tools/perf/util/cpumap.h
> > index 0d3c2006a15d..240db1da370c 100644
> > --- a/tools/perf/util/cpumap.h
> > +++ b/tools/perf/util/cpumap.h
> > @@ -4,7 +4,6 @@
> >
> > #include <stdbool.h>
> > #include <stdio.h>
> > -#include <stdbool.h>
> > #include <internal/cpumap.h>
> > #include <perf/cpumap.h>
> >
> > --
> > 2.25.1
> >
--
- Arnaldo
prev parent reply other threads:[~2022-01-22 20:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-17 8:37 [PATCH] perf cpumap: remove duplicate include in cpumap.h cgel.zte
2022-01-17 16:31 ` Ian Rogers
2022-01-22 20:13 ` Arnaldo Carvalho de Melo [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=Yexlf2Fuk6BZVuzp@kernel.org \
--to=acme@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=cgel.zte@gmail.com \
--cc=irogers@google.com \
--cc=james.clark@arm.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=lv.ruyi@zte.com.cn \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=zealci@zte.com.cn \
/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).