diff options
| author | Qing Wang <[email protected]> | 2021-10-15 06:47:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-10-20 15:43:56 +0000 |
| commit | 40320159f066a8172234b044b4a37abaee175581 (patch) | |
| tree | db1c5aa7fe43351e6a883aeac62c486b667f67ed /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amdgpu: support B0&B1 external revision id for yellow carp (diff) | |
| download | kernel-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
