]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: use kvcalloc() instead of kvmalloc_array() in ttm_tt v2
authorYang Wang <KevinYang.Wang@amd.com>
Thu, 21 Apr 2022 12:34:42 +0000 (20:34 +0800)
committerChristian König <christian.koenig@amd.com>
Thu, 21 Apr 2022 12:47:30 +0000 (14:47 +0200)
commit9bcd2789385e867d2f3be58129fa9f2301a8a338
tree789b04551d306c9ec04f233591678e47ec97c7eb
parent71a1a0c4e51ed0d047d397ccf6a3a4f4966ca7a2
drm/ttm: use kvcalloc() instead of kvmalloc_array() in ttm_tt v2

simplify programming with existing functions.

v2 (chk): minimal coding style cleanup

Signed-off-by: Yang Wang <KevinYang.Wang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220421123442.1834102-1-KevinYang.Wang@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/ttm/ttm_tt.c