summaryrefslogtreecommitdiff
path: root/pkg/linux-headers/patch/0004-Make-struct-bpf_timer-include-a-named-member.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-03-21 22:35:22 -0700
committerMichael Forney <mforney@mforney.org>2024-03-21 22:35:32 -0700
commit7a0f1ecc4e7b59ece9d98d070bbc06bc7f11ab86 (patch)
tree6c2c16659712c877c7e9385a55cb6fecfc404a9e /pkg/linux-headers/patch/0004-Make-struct-bpf_timer-include-a-named-member.patch
parent69f5d464bd5c5ebf0de25d08ef093dbcc1151948 (diff)
linux-headers: Update to 6.8
Diffstat (limited to 'pkg/linux-headers/patch/0004-Make-struct-bpf_timer-include-a-named-member.patch')
-rw-r--r--pkg/linux-headers/patch/0004-Make-struct-bpf_timer-include-a-named-member.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/pkg/linux-headers/patch/0004-Make-struct-bpf_timer-include-a-named-member.patch b/pkg/linux-headers/patch/0004-Make-struct-bpf_timer-include-a-named-member.patch
deleted file mode 100644
index 5835966a..00000000
--- a/pkg/linux-headers/patch/0004-Make-struct-bpf_timer-include-a-named-member.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 3685e3c0cb5029b4e17eee6a53d2214190738c24 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 ed8261560f2b..fb60bc7bb305 100644
---- a/include/uapi/linux/bpf.h
-+++ b/include/uapi/linux/bpf.h
-@@ -6968,9 +6968,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
-