lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150611141459.GD2696@kernel.org>
Date:	Thu, 11 Jun 2015 11:14:59 -0300
From:	Arnaldo Carvalho de Melo <acme@...nel.org>
To:	He Kuang <hekuang@...wei.com>
Cc:	a.p.zijlstra@...llo.nl, mingo@...hat.com, jolsa@...nel.org,
	kan.liang@...el.com, wangnan0@...wei.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf tools: Fix build failure on 32-bit arch

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ