From cf4ce59b3b70238352c7f1729f0f7223214828ad Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 20 Sep 2024 01:46:19 +0000
Subject: [PATCH] rtl88x2CE_WiFi_linux add concurrent mode
---
kernel/include/trace/trace_events.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/include/trace/trace_events.h b/kernel/include/trace/trace_events.h
index d74c076..717d388 100644
--- a/kernel/include/trace/trace_events.h
+++ b/kernel/include/trace/trace_events.h
@@ -400,7 +400,7 @@
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
-#define ALIGN_STRUCTFIELD(type) ((int)(offsetof(struct {char a; type b;}, b)))
+#define ALIGN_STRUCTFIELD(type) ((int)(__alignof__(struct {type b;})))
#undef __field_ext
#define __field_ext(_type, _item, _filter_type) { \
--
Gitblit v1.6.2