diff options
| author | Yang Li <[email protected]> | 2021-09-26 07:16:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-09-29 21:30:00 +0000 |
| commit | 0de5472a01804f43b7c8ddb1132bbfeb8b68674f (patch) | |
| tree | f686c71361f95ddd0fc1fa0a15ef6c941c4dd8ab /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: fix warning for overflow check (diff) | |
| download | kernel-0de5472a01804f43b7c8ddb1132bbfeb8b68674f.tar.gz kernel-0de5472a01804f43b7c8ddb1132bbfeb8b68674f.zip | |
drm/amdkfd: fix resource_size.cocci warnings
Use resource_size function on resource object
instead of explicit computation.
Clean up coccicheck warning:
./drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:905:10-13: ERROR: Missing
resource_size with res
Reported-by: Abaci Robot <[email protected]>
Reviewed-by: Amos Kong <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
