diff options
| author | Michael Forney <mforney@mforney.org> | 2023-07-07 12:16:24 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2023-07-07 13:22:37 -0700 |
| commit | 875f1e20701b509e95b6474cb4794409f20136d5 (patch) | |
| tree | bce76021a602facc7bf4b0e59dee6c5fdb081f61 /pkg/linux-headers/patch/0005-Make-struct-bpf_timer-include-a-named-member.patch | |
| parent | d636969d7e0566444c0b8c6f3171da9b7a918ce8 (diff) | |
linux-headers: Update to 6.4
Diffstat (limited to 'pkg/linux-headers/patch/0005-Make-struct-bpf_timer-include-a-named-member.patch')
| -rw-r--r-- | pkg/linux-headers/patch/0005-Make-struct-bpf_timer-include-a-named-member.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/pkg/linux-headers/patch/0005-Make-struct-bpf_timer-include-a-named-member.patch b/pkg/linux-headers/patch/0005-Make-struct-bpf_timer-include-a-named-member.patch deleted file mode 100644 index d742aa04..00000000 --- a/pkg/linux-headers/patch/0005-Make-struct-bpf_timer-include-a-named-member.patch +++ /dev/null @@ -1,32 +0,0 @@ -From c57c6e0abe79f908eaac16deac7cdb51a58dc2c4 Mon Sep 17 00:00:00 2001 -From: Michael Forney <mforney@mforney.org> -Date: Thu, 2 Dec 2021 14:49:08 -0800 -Subject: [PATCH] Make struct bpf_timer include a named member - -A struct without any named members is undefined behavior by C11 -6.7.2.1p8. - -Signed-off-by: Michael Forney <mforney@mforney.org> ---- - include/uapi/linux/bpf.h | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h -index ae026feb4c5b..a41109d08558 100644 ---- a/include/uapi/linux/bpf.h -+++ b/include/uapi/linux/bpf.h -@@ -6822,9 +6822,8 @@ struct bpf_spin_lock { - }; - - struct bpf_timer { -- __u64 :64; -- __u64 :64; --} __attribute__((aligned(8))); -+ __u64 reserved[2]; -+}; - - struct bpf_dynptr { - __u64 :64; --- -2.37.3 - |
