aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorQing Wang <[email protected]>2021-10-15 06:47:20 +0000
committerAlex Deucher <[email protected]>2021-10-20 15:43:56 +0000
commit40320159f066a8172234b044b4a37abaee175581 (patch)
treedb1c5aa7fe43351e6a883aeac62c486b667f67ed /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amdgpu: support B0&B1 external revision id for yellow carp (diff)
downloadkernel-40320159f066a8172234b044b4a37abaee175581.tar.gz
kernel-40320159f066a8172234b044b4a37abaee175581.zip
drm/amdgpu: replace snprintf in show functions with sysfs_emit
show() must not use snprintf() when formatting the value to be returned to user space. Fix the following coccicheck warning: drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:427: WARNING: use scnprintf or sprintf. Signed-off-by: Qing Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions