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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to