diff options
| author | Guojia Liao <[email protected]> | 2021-08-30 13:51:07 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-31 11:36:42 +0000 |
| commit | e79c0e324b011b0288cd411a5b53870a7730f163 (patch) | |
| tree | ed82568cc131a52b26deeed6bdea846f049c4748 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | net: hns3: refine function hns3_set_default_feature() (diff) | |
| download | kernel-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_debugfs.c')
0 files changed, 0 insertions, 0 deletions
