diff options
author | 2023-08-24 08:37:05 +0100 | |
---|---|---|
committer | 2023-08-30 15:27:18 -0400 | |
commit | a728342ae4ec2a7fdab0038b11427579424f133e (patch) | |
tree | 22bc8eca7a644201925c1d1085a6faff04ada450 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | |
parent | drm/amd/amdgpu/amdgpu_sdma: Increase buffer size to account for all possible values (diff) | |
download | linux-rng-a728342ae4ec2a7fdab0038b11427579424f133e.tar.xz linux-rng-a728342ae4ec2a7fdab0038b11427579424f133e.zip |
drm/amd/amdgpu/imu_v11_0: Increase buffer size to ensure all possible values can be stored
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/imu_v11_0.c: In function ‘imu_v11_0_init_microcode’:
drivers/gpu/drm/amd/amdgpu/imu_v11_0.c:52:54: warning: ‘_imu.bin’ directive output may be truncated writing 8 bytes into a region of size between 4 and 33 [-Wformat-truncation=]
drivers/gpu/drm/amd/amdgpu/imu_v11_0.c:52:9: note: ‘snprintf’ output between 16 and 45 bytes into a destination of size 40
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c')
0 files changed, 0 insertions, 0 deletions