diff options
| author | Hengqi Chen <[email protected]> | 2021-04-05 04:01:19 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-04-05 14:14:13 +0000 |
| commit | 1e1032b0c4afaed7739a6681ff6b4cb120b82994 (patch) | |
| tree | a61b9861abd4ae25e7c97cdb8945c9a9e63850a0 /tools/lib/bpf/bpf_helpers.h | |
| parent | bpf: selftests: Specify CONFIG_DYNAMIC_FTRACE in the testing config (diff) | |
| download | kernel-1e1032b0c4afaed7739a6681ff6b4cb120b82994.tar.gz kernel-1e1032b0c4afaed7739a6681ff6b4cb120b82994.zip | |
libbpf: Fix KERNEL_VERSION macro
Add missing ')' for KERNEL_VERSION macro.
Signed-off-by: Hengqi Chen <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
| -rw-r--r-- | tools/lib/bpf/bpf_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/bpf_helpers.h b/tools/lib/bpf/bpf_helpers.h index cc2e51c64a54..b904128626c2 100644 --- a/tools/lib/bpf/bpf_helpers.h +++ b/tools/lib/bpf/bpf_helpers.h @@ -51,7 +51,7 @@ #endif #ifndef KERNEL_VERSION -#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)) +#define KERNEL_VERSION(a, b, c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c))) #endif /* |
