diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-11-27 09:58:22 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-11-28 08:08:37 -0300 |
commit | 98e93245113d0f5c279ef77f4a9e7d097323ad71 (patch) | |
tree | 14ac77cff5a13b92c08bbe7e08013aa2b5fd293b /MAINTAINERS | |
parent | 7b65e2034fde011d090d4ec472902b71129c6cbd (diff) | |
download | linux-98e93245113d0f5c279ef77f4a9e7d097323ad71.tar.gz linux-98e93245113d0f5c279ef77f4a9e7d097323ad71.tar.bz2 linux-98e93245113d0f5c279ef77f4a9e7d097323ad71.zip |
perf diff: Use llabs() with 64-bit values
To fix these build errors on a debian mipsel cross build environment:
builtin-diff.c: In function 'block_cycles_diff_cmp':
builtin-diff.c:550:6: error: absolute value function 'labs' given an argument of type 's64' {aka 'long long int'} but has parameter of type 'long int' which may cause truncation of value [-Werror=absolute-value]
550 | l = labs(left->diff.cycles);
| ^~~~
builtin-diff.c:551:6: error: absolute value function 'labs' given an argument of type 's64' {aka 'long long int'} but has parameter of type 'long int' which may cause truncation of value [-Werror=absolute-value]
551 | r = labs(right->diff.cycles);
| ^~~~
Fixes: 99150a1faab2 ("perf diff: Use hists to manage basic blocks per symbol")
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-pn7szy5uw384ntjgk6zckh6a@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions