summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-10-08 09:23:05 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-10-09 14:43:30 -0400
commit562f150fb93b44884f467f531b18cb0b8fdb2ff4 (patch)
treea758445b10610f9c2ddf669be44b7360bccada17 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentbae82e84182349d30d5f0c8dfa44cab00baf3425 (diff)
drm/amdgpu: Use struct_size() helper in kmalloc()
Make use of the new struct_size() helper instead of the offsetof() idiom. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions