Re: [PATCH] drm/msm: fix -Wformat-security warnings

2024-12-24 Thread Dmitry Baryshkov
On Mon, 16 Dec 2024 09:33:13 +0100, Arnd Bergmann wrote: > Passing a variable string as a printf style format is potentially > dangerous that -Wformat-security can warn about if enabled. A new > instance just got added: > > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function 'dpu_kms_mdp_snapsh

Re: [PATCH] drm/msm: fix -Wformat-security warnings

2024-12-16 Thread Abhinav Kumar
On 12/16/2024 12:33 AM, Arnd Bergmann wrote: From: Arnd Bergmann Passing a variable string as a printf style format is potentially dangerous that -Wformat-security can warn about if enabled. A new instance just got added: drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function 'dpu_kms_mdp_sna

Re: [PATCH] drm/msm: fix -Wformat-security warnings

2024-12-16 Thread Dmitry Baryshkov
On Mon, Dec 16, 2024 at 09:33:13AM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Passing a variable string as a printf style format is potentially > dangerous that -Wformat-security can warn about if enabled. A new > instance just got added: > > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: I

[PATCH] drm/msm: fix -Wformat-security warnings

2024-12-16 Thread Arnd Bergmann
From: Arnd Bergmann Passing a variable string as a printf style format is potentially dangerous that -Wformat-security can warn about if enabled. A new instance just got added: drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function 'dpu_kms_mdp_snapshot': drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:10