diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2024-01-10 19:39:13 +0200 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2024-01-31 11:04:25 +0200 |
| commit | 345a36c4f1baa03275d88cd13747c6c1748b1fc0 (patch) | |
| tree | 2b88f4888d8cabf1e3e7e8cc4c492519036f427f /drivers/gpu/drm/imx/ipuv3/imx-ldb.c | |
| parent | drm/vmwgfx: Fix the lifetime of the bo cursor memory (diff) | |
| download | linux-345a36c4f1baa03275d88cd13747c6c1748b1fc0.tar.gz linux-345a36c4f1baa03275d88cd13747c6c1748b1fc0.zip | |
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 <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Pan, Xinhui <Xinhui.Pan@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/fea7a52924f98b1ac24f4a7e6ba21d7754422430.1704908087.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/imx/ipuv3/imx-ldb.c')
0 files changed, 0 insertions, 0 deletions
