From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: He Kuang <hekuang@huawei.com>
Cc: a.p.zijlstra@chello.nl, mingo@redhat.com, jolsa@kernel.org,
kan.liang@intel.com, wangnan0@huawei.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf tools: Fix build failure on 32-bit arch
Date: Thu, 11 Jun 2015 11:14:59 -0300 [thread overview]
Message-ID: <20150611141459.GD2696@kernel.org> (raw)
In-Reply-To: <1434026664-71642-1-git-send-email-hekuang@huawei.com>
Em Thu, Jun 11, 2015 at 12:44:24PM +0000, He Kuang escreveu:
> Failed in 32bit arch build like this:
>
> CC /opt/h00206996/output/perf/arm32/builtin-record.o
> util/session.c: In function ‘perf_session__warn_about_errors’:
> util/session.c:1304:9: error: format ‘%lu’ expects argument of type ‘long unsigned int’,
> but argument 2 has type ‘long long unsigned int’ [-Werror=format=]
>
> builtin-report.c: In function ‘perf_evlist__tty_browse_hists’:
> builtin-report.c:323:2: error: format ‘%lu’ expects argument of type ‘long unsigned int’,
> but argument 3 has type ‘u64’ [-Werror=format=]
>
> Replace %lu format strings in warning message with PRIu64 for u64
> 'total_lost_samples' to fix this problem.
Thanks, applied.
- Arnaldo
next prev parent reply other threads:[~2015-06-11 14:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-11 12:44 [PATCH] perf tools: Fix build failure on 32-bit arch He Kuang
2015-06-11 14:14 ` Arnaldo Carvalho de Melo [this message]
2015-06-12 8:51 ` [tip:perf/core] " tip-bot for He Kuang
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=20150611141459.GD2696@kernel.org \
--to=acme@kernel.org \
--cc=a.p.zijlstra@chello.nl \
--cc=hekuang@huawei.com \
--cc=jolsa@kernel.org \
--cc=kan.liang@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=wangnan0@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.