diff options
author | Qing Wang <wangqing@vivo.com> | 2021-10-15 09:47:20 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-10-20 18:43:56 +0300 |
commit | 40320159f066a8172234b044b4a37abaee175581 (patch) | |
tree | db1c5aa7fe43351e6a883aeac62c486b667f67ed /.get_maintainer.ignore | |
parent | 5efacdf072d19d5321354fa4d8a4df0cc4e1d0cc (diff) | |
download | linux-40320159f066a8172234b044b4a37abaee175581.tar.xz |
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 <wangqing@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions