aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2020-06-17 21:51:44 +0000
committerRoland Scheidegger <[email protected]>2020-08-11 01:16:02 +0000
commit4f88b4ccb7036ce523b3c031d1226d6eda36417b (patch)
tree495eb2a981f5fe8236c750e961fa25c69bf1f678 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentMerge tag 'drm-msm-next-2020-07-30' of https://gitlab.freedesktop.org/drm/msm... (diff)
downloadkernel-4f88b4ccb7036ce523b3c031d1226d6eda36417b.tar.gz
kernel-4f88b4ccb7036ce523b3c031d1226d6eda36417b.zip
drm/vmwgfx: Use struct_size() helper
Make use of the struct_size() helper instead of an open-coded version in order to avoid any potential type mistakes. This code was detected with the help of Coccinelle and, audited and fixed manually. Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions