diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-06-24 10:13:24 +0530 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-07 13:51:47 -0400 |
| commit | d228419ffb78e572171a549a4ab994d84ec34dc8 (patch) | |
| tree | a257035bd51978ea3fe93031d20665c87e974fa0 /tools/perf/scripts/python/bin/stackcollapse-report | |
| 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 <[email protected]>
Cc: Aurabindo Pillai <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions