Re: [PATCH] drm/amdgpu: Fix truncation in smu_v11_0_init_microcode

2024-03-22 Thread Lazar, Lijo
On 3/22/2024 12:33 PM, Srinivasan Shanmugam wrote: > Reducing the size of ucode_prefix to 25 in the smu_v11_0_init_microcode > function. we ensure that fw_name can accommodate the maximum possible > string size > > Fixes the below with gcc W=1: >

[PATCH] drm/amdgpu: Fix truncation in smu_v11_0_init_microcode

2024-03-22 Thread Srinivasan Shanmugam
Reducing the size of ucode_prefix to 25 in the smu_v11_0_init_microcode function. we ensure that fw_name can accommodate the maximum possible string size Fixes the below with gcc W=1: drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/smu_v11_0.c: In function ‘smu_v11_0_init_microcode’: