diff options
author | Namhyung Kim <namhyung@kernel.org> | 2024-10-14 10:34:17 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-10-14 10:40:30 -0700 |
commit | 1a3d6a9723d4dbdad41dad67b66a64d4a84c5f5c (patch) | |
tree | 3f07d5a42bd4d17765016d94d7355be6ebf588d5 /lib/debug_locks.c | |
parent | 9ea671d1b2d5962368b94b28507ae65f94c86fb3 (diff) |
perf tools: Fix compiler error in util/tool_pmu.c
util/tool_pmu.c: In function 'evsel__tool_pmu_read':
util/tool_pmu.c:419:55: error: passing argument 2 of 'tool_pmu__read_event' from incompatible pointer type [-Werror=incompatible-pointer-types]
419 | if (!tool_pmu__read_event(ev, &val)) {
| ^~~~
| |
| long unsigned int *
util/tool_pmu.c:335:56: note: expected 'u64 *' {aka 'long long unsigned int *'} but argument is of type 'long unsigned int *'
335 | bool tool_pmu__read_event(enum tool_pmu_event ev, u64 *result)
| ~~~~~^~~~~~
Link: https://lore.kernel.org/r/Zw1XIGML32VaxE0t@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions