Re: [PATCH] drm/amdkfd: Use resource_size() helper function

2023-01-09 Thread Felix Kuehling
Am 2023-01-07 um 15:09 schrieb Deepak R Varma: On Fri, Dec 23, 2022 at 02:45:00AM +0530, Deepak R Varma wrote: Use the resource_size() function instead of a open coded computation resource size. It makes the code more readable. Issue identified using resource_size.cocci coccinelle semantic pa

Re: [PATCH] drm/amdkfd: Use resource_size() helper function

2023-01-07 Thread Deepak R Varma
On Fri, Dec 23, 2022 at 02:45:00AM +0530, Deepak R Varma wrote: > Use the resource_size() function instead of a open coded computation > resource size. It makes the code more readable. > > Issue identified using resource_size.cocci coccinelle semantic patch. > > Signed-off-by: Deepak R Varma > ---

[PATCH] drm/amdkfd: Use resource_size() helper function

2022-12-22 Thread Deepak R Varma
Use the resource_size() function instead of a open coded computation resource size. It makes the code more readable. Issue identified using resource_size.cocci coccinelle semantic patch. Signed-off-by: Deepak R Varma --- Note: Proposed change compile tested only. drivers/gpu/drm/amd/amdkfd/kfd