diff options
| author | Ian Rogers <[email protected]> | 2023-09-13 18:49:57 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2023-09-17 22:51:32 +0000 |
| commit | 33b725ce7b9887569749fbbcdafc4ab089a09741 (patch) | |
| tree | c3280c363ccf9e2718b9d93b6761ac3fe719e4f2 /drivers/cdx/controller/mcdi_functions.c | |
| parent | perf bpf-prologue: Remove unused file (diff) | |
| download | kernel-33b725ce7b9887569749fbbcdafc4ab089a09741.tar.gz kernel-33b725ce7b9887569749fbbcdafc4ab089a09741.zip | |
perf trace: Avoid compile error wrt redefining bool
Make part of an existing TODO conditional to avoid the following build
error:
```
tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c:26:14: error: cannot combine with previous 'char' declaration specifier
26 | typedef char bool;
| ^
include/stdbool.h:20:14: note: expanded from macro 'bool'
20 | #define bool _Bool
| ^
tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c:26:1: error: typedef requires a name [-Werror,-Wmissing-declarations]
26 | typedef char bool;
| ^~~~~~~~~~~~~~~~~
2 errors generated.
```
Signed-off-by: Ian Rogers <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions
