aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2025-05-03 11:52:44 +0000
committerMiklos Szeredi <[email protected]>2025-05-05 10:47:57 +0000
commit7314166ee7592513c77cfbb8ff579f376039f9c4 (patch)
tree3fedef06cc2ec6748298af8b4e9f76e080586659 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentovl: Replace offsetof() with struct_size() in ovl_cache_entry_new() (diff)
downloadkernel-7314166ee7592513c77cfbb8ff579f376039f9c4.tar.gz
kernel-7314166ee7592513c77cfbb8ff579f376039f9c4.zip
ovl: Replace offsetof() with struct_size() in ovl_stack_free()
Compared to offsetof(), struct_size() provides additional compile-time checks for structs with flexible arrays (e.g., __must_be_array()). No functional changes intended. Signed-off-by: Thorsten Blum <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions