diff options
| author | Kees Cook <[email protected]> | 2025-05-02 22:41:20 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2025-05-08 16:42:40 +0000 |
| commit | f55aef7e0cc7583062cbda9becaa3b2ba3255fa3 (patch) | |
| tree | e7355e3243396e6089fcb04c67ea52ff1232b6d7 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | lib/tests: Add randstruct KUnit test (diff) | |
| download | kernel-f55aef7e0cc7583062cbda9becaa3b2ba3255fa3.tar.gz kernel-f55aef7e0cc7583062cbda9becaa3b2ba3255fa3.zip | |
lib/tests: randstruct: Add deep function pointer layout test
The recent fix in commit c2ea09b193d2 ("randstruct: gcc-plugin: Remove
bogus void member") has fixed another issue: it was not always detecting
composite structures made only of function pointers and structures of
function pointers. Add a test for this case, and break out the layout
tests since this issue is actually a problem for Clang as well[1].
Link: https://github.com/llvm/llvm-project/issues/138355 [1]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
