aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorGuojia Liao <[email protected]>2021-08-30 13:51:07 +0000
committerDavid S. Miller <[email protected]>2021-08-31 11:36:42 +0000
commite79c0e324b011b0288cd411a5b53870a7730f163 (patch)
treeed82568cc131a52b26deeed6bdea846f049c4748 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentnet: hns3: refine function hns3_set_default_feature() (diff)
downloadkernel-e79c0e324b011b0288cd411a5b53870a7730f163.tar.gz
kernel-e79c0e324b011b0288cd411a5b53870a7730f163.zip
net: hns3: clean up a type mismatch warning
abs() returns signed long, which could not convert the type as unsigned, and it may cause a mismatch type warning from static tools. To fix it, this patch uses an variable to save the abs()'s result and does a explicit conversion. Signed-off-by: Guojia Liao <[email protected]> Signed-off-by: Guangbin Huang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions