aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
diff options
context:
space:
mode:
authorEthan Carter Edwards <[email protected]>2025-02-27 23:16:22 +0000
committerAlex Deucher <[email protected]>2025-03-10 17:36:08 +0000
commit934cb529e90c57f5766668fe13624624dae1d790 (patch)
tree7f2a66da121ea353195a6a96b87dc3f9601862d5 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
parentdrm/amd/display: change kzalloc to kcalloc in dcn30_validate_bandwidth() (diff)
downloadkernel-934cb529e90c57f5766668fe13624624dae1d790.tar.gz
kernel-934cb529e90c57f5766668fe13624624dae1d790.zip
drm/amd/display: change kzalloc to kcalloc in dcn31_validate_bandwidth()
We are trying to get rid of all multiplications from allocation functions to prevent integer overflows. Here the multiplication is probably safe, but using kcalloc() is more appropriate and improves readability. This patch has no effect on runtime behavior. Reviewed-by: Rodrigo Siqueira <[email protected]> Reviewed-by: Alex Hung <[email protected]> Signed-off-by: Ethan Carter Edwards <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions