diff options
author | Yunseong Kim <yskelg@gmail.com> | 2024-06-20 05:34:29 +0900 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-06-25 11:06:20 -0700 |
commit | e9ffa312ff06cde77c4a6395c411c5ebde738f04 (patch) | |
tree | 4e2ed9cc3bfd40c516a25706745c4873095a12d3 /tools/perf/scripts/python/stackcollapse.py | |
parent | d363c2a880c611eea3d754a618b6125bac7f3044 (diff) | |
download | linux-e9ffa312ff06cde77c4a6395c411c5ebde738f04.tar.gz linux-e9ffa312ff06cde77c4a6395c411c5ebde738f04.tar.bz2 linux-e9ffa312ff06cde77c4a6395c411c5ebde738f04.zip |
util: constant -1 with expression of type char
This patch resolve following warning.
tools/perf/util/evsel.c:1620:9: error: result of comparison of constant
-1 with expression of type 'char' is always false
-Werror,-Wtautological-constant-out-of-range-compare
1620 | if (c == -1)
| ~ ^ ~~
Signed-off-by: Yunseong Kim <yskelg@gmail.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Austin Kim <austindh.kim@gmail.com>
Cc: shjy180909@gmail.com
Cc: Ze Gao <zegao2021@gmail.com>
Cc: Leo Yan <leo.yan@linux.dev>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240619203428.6330-2-yskelg@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions