diff options
| author | Ethan Carter Edwards <[email protected]> | 2025-02-27 23:16:21 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-03-10 17:36:04 +0000 |
| commit | f4f086de310026abfe28512dfa4984fb4648663a (patch) | |
| tree | 1727a683a9be20148a9be75901322c739a072084 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
| parent | drm/amd/display: Promote DAL to 3.2.324 (diff) | |
| download | kernel-f4f086de310026abfe28512dfa4984fb4648663a.tar.gz kernel-f4f086de310026abfe28512dfa4984fb4648663a.zip | |
drm/amd/display: change kzalloc to kcalloc in dcn30_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
