diff options
| author | Yang Li <yang.lee@linux.alibaba.com> | 2021-09-26 10:16:20 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-30 00:30:00 +0300 |
| commit | 0de5472a01804f43b7c8ddb1132bbfeb8b68674f (patch) | |
| tree | f686c71361f95ddd0fc1fa0a15ef6c941c4dd8ab /include/linux/debugobjects.h | |
| parent | 335aea75b0d95518951cad7c4c676e6f1c02c150 (diff) | |
| download | linux-0de5472a01804f43b7c8ddb1132bbfeb8b68674f.tar.xz | |
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
