diff options
| author | Sunil Khatri <sunil.khatri@amd.com> | 2026-03-06 16:48:02 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-03-06 16:33:51 -0500 |
| commit | 210fa907a64496af6341c3455cb267d2b68dfb12 (patch) | |
| tree | ec038ea235c587c2bd43133c8561b31b77fa9f14 /tools/perf/scripts/python/bin | |
| parent | 79b7209c9c61584e8584f8bfe8d259e202fe7107 (diff) | |
drm/amdgpu: fix warning for potentially insecure string
linux/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c:2358:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sprintf(ring->name, amdgpu_sw_ring_name(i));
^~~~~~~~~~~~~~~~~~~~~~
linux/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c:2358:24: note: treat the string as an argument to avoid this
sprintf(ring->name, amdgpu_sw_ring_name(i));
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
