diff options
| author | Deepak R Varma <drv@mailo.com> | 2022-12-23 02:45:00 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-10 18:04:24 -0500 |
| commit | 9d086e0ddaeb08876f4df3a1485166bfd7483252 (patch) | |
| tree | afb9eb43875bdd0a92c95696175c18d977777982 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amdgpu: Fixed bug on error when unloading amdgpu (diff) | |
| download | linux-9d086e0ddaeb08876f4df3a1485166bfd7483252.tar.gz linux-9d086e0ddaeb08876f4df3a1485166bfd7483252.zip | |
drm/amdkfd: Use resource_size() helper function
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
