Re: [PATCH] drm/amd: Use a constant format string for amdgpu_ucode_request

2024-10-28 Thread Borislav Petkov
On Mon, Aug 05, 2024 at 04:12:48PM -0400, Alex Deucher wrote: > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c > > b/drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c > > index fbc2852278e1..6162582d0aa2 100644 > > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c > > +++ b/drivers/gpu/dr

Re: [PATCH] drm/amd: Use a constant format string for amdgpu_ucode_request

2024-08-05 Thread Alex Deucher
Applied. Thanks! On Fri, Jul 19, 2024 at 6:35 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > Multiple files in amdgpu call amdgpu_ucode_request() with a fw_name > variable that the compiler cannot check for being a valid format string, > as seen by enabling the (default-disabled) -Wformat-

[PATCH] drm/amd: Use a constant format string for amdgpu_ucode_request

2024-07-19 Thread Arnd Bergmann
From: Arnd Bergmann Multiple files in amdgpu call amdgpu_ucode_request() with a fw_name variable that the compiler cannot check for being a valid format string, as seen by enabling the (default-disabled) -Wformat-security option: drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c: In function 'amdgpu_mes_