libbpf: Fix KERNEL_VERSION macro
Subsystems (4)
PATCH 1/1 libbpf: Fix KERNEL_VERSION macro
Add missing ')' for KERNEL_VERSION macro.
Signed-off-by Hengqi Chen <[email protected]>
--- tools/lib/bpf/bpf_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/lib/bpf/bpf_helpers.h +1 -1
@@ -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 /*
Signature · 1 line
2.25.1
Andrii Nakryiko
AppliedQuoted 5 lines · Hengqi Chen
Add missing ')' for
KERNEL_VERSIONmacro.Signed-off-by Hengqi Chen <[email protected]>---
Applied to bpf-next, thanks.
Quoted 19 lines
tools/lib/bpf/bpf_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/lib/bpf/bpf_helpers.h +1
-2@@ -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 /* -- 2.25.1
This patch was applied to bpf/bpf-next.git (refs/heads/master):
Hello:
This patch was applied to bpf/bpf-next.git (refs/heads/master):
Quoted 6 lines · On Mon, 5 Apr 2021 12:01:19 +0800 you wrote:
Add missing ')' for
KERNEL_VERSIONmacro.Signed-off-by Hengqi Chen <[email protected]>--- tools/lib/bpf/bpf_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [bpf-next] libbpf: Fix KERNEL_VERSION macro
https://git.kernel.org/bpf/bpf-next/c/1e1032b0c4af
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html