Re: [PATCH] drm/ttm: use kvcalloc() instead of kvmalloc_array() in ttm_tt

2022-04-21 Thread Wang, Yang(Kevin)
[AMD Official Use Only] From: Koenig, Christian Sent: Thursday, April 21, 2022 8:48 PM To: Wang, Yang(Kevin) ; amd-...@lists.freedesktop.org ; dri-devel@lists.freedesktop.org Cc: Kuehling, Felix ; Lazar, Lijo Subject: Re: [PATCH] drm/ttm: use kvcalloc

Re: [PATCH] drm/ttm: use kvcalloc() instead of kvmalloc_array() in ttm_tt

2022-04-21 Thread Christian König
Am 21.04.22 um 14:34 schrieb Yang Wang: simplify programming with existing functions. Signed-off-by: Yang Wang With a minimal style change reviewed and pushed to drm-misc-next. Thanks, Christian. --- drivers/gpu/drm/ttm/ttm_tt.c | 21 - 1 file changed, 12 insertions(

[PATCH] drm/ttm: use kvcalloc() instead of kvmalloc_array() in ttm_tt

2022-04-21 Thread Yang Wang
simplify programming with existing functions. Signed-off-by: Yang Wang --- drivers/gpu/drm/ttm/ttm_tt.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index 79c870a3bef8..cbb3d1fb4caf 100644 -