summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2026-03-06 16:48:02 +0530
committerAlex Deucher <alexander.deucher@amd.com>2026-03-06 16:33:51 -0500
commit210fa907a64496af6341c3455cb267d2b68dfb12 (patch)
treeec038ea235c587c2bd43133c8561b31b77fa9f14 /tools/perf/scripts/python
parent79b7209c9c61584e8584f8bfe8d259e202fe7107 (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')
0 files changed, 0 insertions, 0 deletions