Re: [Nouveau] [PATCH 1/6] drm/ttm: rename and cleanup ttm_bo_init_reserved

2022-08-04 Thread Ruhl, Michael J
>-Original Message- >From: dri-devel On Behalf Of >Christian König >Sent: Thursday, July 7, 2022 6:25 AM >To: intel-...@lists.freedesktop.org; dri-de...@lists.freedesktop.org; >nouveau@lists.freedesktop.org; amd-...@lists.freedesktop.org >Cc: Christian König >Subject: [PATCH 1/6]

[Nouveau] [PATCH 1/6] drm/ttm: rename and cleanup ttm_bo_init_reserved

2022-07-07 Thread Christian König
Rename ttm_bo_init_reserved to ttm_bo_init_validate since that better matches what the function is actually doing. Remove the unused size parameter, move the function's kerneldoc to the implementation and cleanup the whole error handling. Signed-off-by: Christian König ---