diff options
author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2023-06-24 10:13:24 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-07 13:51:47 -0400 |
commit | d228419ffb78e572171a549a4ab994d84ec34dc8 (patch) | |
tree | a257035bd51978ea3fe93031d20665c87e974fa0 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | 7c62129b415adbab283e5bddc619a749d7fe3163 (diff) |
drm/amd/display: Remove unnecessary casts in amdgpu_dm_helpers.c
Fixes the following category of checkpatch complaints:
WARNING: unnecessary cast may hide bugs, see http://c-faq.com/malloc/mallocnocast.html
+ char *buf = (char *)kvcalloc(total, sizeof(char), GFP_KERNEL);
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions