summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/xarray.py
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2025-05-30 22:06:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-19 16:41:08 +0300
commita0c3c47f6b1bb613c74d4d1e64c1dd2d31bb60e5 (patch)
tree2ba7304f532f0d0dff15b9cfa83d7f8b0ee275a7 /scripts/gdb/linux/xarray.py
parent4c6b328f96de18346abb06bc9fe0b8312a7366b9 (diff)
downloadlinux-a0c3c47f6b1bb613c74d4d1e64c1dd2d31bb60e5.tar.xz
overflow: Introduce __DEFINE_FLEX for having no initializer
commit 5c78e793f78732b60276401f75cc1a101f9ad121 upstream. While not yet in the tree, there is a proposed patch[1] that was depending on the prior behavior of _DEFINE_FLEX, which did not have an explicit initializer. Provide this via __DEFINE_FLEX now, which can also have attributes applied (e.g. __uninitialized). Examples of the resulting initializer behaviors can be seen here: https://godbolt.org/z/P7Go8Tr33 Link: https://lore.kernel.org/netdev/20250520205920.2134829-9-anthony.l.nguyen@intel.com [1] Fixes: 47e36ed78406 ("overflow: Fix direct struct member initialization in _DEFINE_FLEX()") Signed-off-by: Kees Cook <kees@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions