summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-09-26 15:16:20 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-09-29 17:30:00 -0400
commit0de5472a01804f43b7c8ddb1132bbfeb8b68674f (patch)
treef686c71361f95ddd0fc1fa0a15ef6c941c4dd8ab /drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h
parent335aea75b0d95518951cad7c4c676e6f1c02c150 (diff)
downloadlinux-0de5472a01804f43b7c8ddb1132bbfeb8b68674f.tar.gz
linux-0de5472a01804f43b7c8ddb1132bbfeb8b68674f.tar.bz2
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/pm/powerplay/hwmgr/ppatomfwctrl.h')
0 files changed, 0 insertions, 0 deletions