aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2024-01-10 19:39:13 +0200
committerJani Nikula <[email protected]>2024-01-31 11:04:25 +0200
commit345a36c4f1baa03275d88cd13747c6c1748b1fc0 (patch)
tree2b88f4888d8cabf1e3e7e8cc4c492519036f427f /lib/memory-notifier-error-inject.c
parent9a9e8a7159ca09af9b1a300a6c8e8b6ff7501c76 (diff)
drm/amdgpu: prefer snprintf over sprintf
This will trade the W=1 warning -Wformat-overflow to -Wformat-truncation. This lets us enable -Wformat-overflow subsystem wide. Cc: Alex Deucher <[email protected]> Cc: Christian König <[email protected]> Cc: Pan, Xinhui <[email protected]> Cc: [email protected] Acked-by: Alex Deucher <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/fea7a52924f98b1ac24f4a7e6ba21d7754422430.1704908087.git.jani.nikula@intel.com
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions