diff options
author | 2021-09-26 15:16:20 +0800 | |
---|---|---|
committer | 2021-09-29 17:30:00 -0400 | |
commit | 0de5472a01804f43b7c8ddb1132bbfeb8b68674f (patch) | |
tree | f686c71361f95ddd0fc1fa0a15ef6c941c4dd8ab /drivers/gpu/drm/amd/display | |
parent | drm/amdgpu: fix warning for overflow check (diff) | |
download | wireguard-linux-0de5472a01804f43b7c8ddb1132bbfeb8b68674f.tar.xz wireguard-linux-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 <abaci@linux.alibaba.com>
Reviewed-by: Amos Kong <kongjianjun@gmail.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display')
0 files changed, 0 insertions, 0 deletions