diff options
| author | Gustavo A. R. Silva <[email protected]> | 2020-10-08 14:23:05 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-10-09 18:43:30 +0000 |
| commit | 562f150fb93b44884f467f531b18cb0b8fdb2ff4 (patch) | |
| tree | a758445b10610f9c2ddf669be44b7360bccada17 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | |
| parent | drm/amd/pm: Replace one-element array with flexible-array in struct phm_ppt_v... (diff) | |
| download | kernel-562f150fb93b44884f467f531b18cb0b8fdb2ff4.tar.gz kernel-562f150fb93b44884f467f531b18cb0b8fdb2ff4.zip | |
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 <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions
