Files
linux/drivers
Deepak R Varma 81b86a10b8 drm/amdkfd: Use resource_size() helper function
[ Upstream commit 9d086e0dda ]

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 <drv@mailo.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 02eed83abc13 ("drm/amdkfd: fixes for HMM mem allocation")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:27:50 -08:00
..
2023-09-13 09:42:56 +02:00
2024-01-25 15:27:48 -08:00
2024-01-25 15:27:47 -08:00
2023-11-20 11:52:05 +01:00
2024-01-20 11:50:09 +01:00
2023-09-13 09:42:58 +02:00
2024-01-20 11:50:10 +01:00
2023-07-19 16:21:48 +02:00