projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f73ea1e
)
libbpf: Fix KERNEL_VERSION macro
author
Hengqi Chen
<hengqi.chen@gmail.com>
Mon, 5 Apr 2021 04:01:19 +0000
(12:01 +0800)
committer
Andrii Nakryiko
<andrii@kernel.org>
Mon, 5 Apr 2021 14:14:13 +0000
(07:14 -0700)
Add missing ')' for KERNEL_VERSION macro.
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link:
https://lore.kernel.org/bpf/20210405040119.802188-1-hengqi.chen@gmail.com
tools/lib/bpf/bpf_helpers.h
patch
|
blob
|
history
diff --git
a/tools/lib/bpf/bpf_helpers.h
b/tools/lib/bpf/bpf_helpers.h
index
cc2e51c
..
b904128
100644
(file)
--- 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
/*