diff options
| author | Shunsuke Nakamura <[email protected]> | 2021-10-06 09:57:03 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-10-14 18:41:35 +0000 |
| commit | f304c8d949f9adc2ef51304b63e49d5ea1c2d288 (patch) | |
| tree | 8c033cac7ddd8c4f919c217bcb05363f2fb41255 /drivers/fpga/fpga-bridge.c | |
| parent | perf report: Output non-zero offset for decompressed records (diff) | |
| download | kernel-f304c8d949f9adc2ef51304b63e49d5ea1c2d288.tar.gz kernel-f304c8d949f9adc2ef51304b63e49d5ea1c2d288.zip | |
libperf test evsel: Fix build error on !x86 architectures
In test_stat_user_read, following build error occurs except i386 and
x86_64 architectures:
tests/test-evsel.c:129:31: error: variable 'pc' set but not used [-Werror=unused-but-set-variable]
struct perf_event_mmap_page *pc;
Fix build error.
Signed-off-by: Shunsuke Nakamura <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
