aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2025-06-17 19:05:36 +0000
committerKees Cook <[email protected]>2025-06-18 21:30:53 +0000
commit29bb79e9dbf1ba100125e39deb7147acd490903f (patch)
tree247c540fe8a4ec7a83669f75c752aa80fffe968e /drivers/platform/x86/intel/pmt/class.c
parentmux: Convert mux_control_ops to a flex array member in mux_chip (diff)
downloadkernel-29bb79e9dbf1ba100125e39deb7147acd490903f.tar.gz
kernel-29bb79e9dbf1ba100125e39deb7147acd490903f.zip
stddef: Introduce TRAILING_OVERLAP() helper macro
Add new TRAILING_OVERLAP() helper macro to create a union between a flexible-array member (FAM) and a set of members that would otherwise follow it. This overlays the trailing members onto the FAM while preserving the original memory layout. Co-developed-by: Kees Cook <[email protected]> Signed-off-by: Gustavo A. R. Silva <[email protected]> Link: https://lore.kernel.org/r/aFG8gEwKXAWWIvX0@kspp Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions