diff options
| author | Yunseong Kim <[email protected]> | 2024-06-19 20:34:29 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-06-25 18:06:20 +0000 |
| commit | e9ffa312ff06cde77c4a6395c411c5ebde738f04 (patch) | |
| tree | 4e2ed9cc3bfd40c516a25706745c4873095a12d3 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | perf: Timehist account sch delay for scheduled out running (diff) | |
| download | kernel-e9ffa312ff06cde77c4a6395c411c5ebde738f04.tar.gz kernel-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 <[email protected]>
Reviewed-by: Ian Rogers <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Cc: Austin Kim <[email protected]>
Cc: [email protected]
Cc: Ze Gao <[email protected]>
Cc: Leo Yan <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
