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:03 +0000
committerMiklos Szeredi <[email protected]>2025-05-05 10:47:30 +0000
commit5aaf6a8cc3305e1000417f6fac9d131c47db9117 (patch)
tree8f1ed93456aa1cd2854b06d858b3441d70acf832 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentovl: Check for NULL d_inode() in ovl_dentry_upper() (diff)
downloadkernel-5aaf6a8cc3305e1000417f6fac9d131c47db9117.tar.gz
kernel-5aaf6a8cc3305e1000417f6fac9d131c47db9117.zip
ovl: Replace offsetof() with struct_size() in ovl_cache_entry_new()
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