Re: [PATCH] platform/x86: dell-wmi-sysman: replace deprecated strlcpy with strscpy

From: Ilpo Järvinen

Date: Thu Nov 19 2026 - 11:03:22 EST


On Sat, 24 Oct 2026 21:36:03 +1100, Ava wrote:

> The kernel has deprecated the use of strlcpy wrappers in favor of
> the safer strscpy variants. Replace the internal driver helper
> function strlcpy_attr() with strscpy_attr() across all
> dell-wmi-sysman attribute parser files.
>
> Ensure explicit destination buffer sizes are passed using sizeof()
> to prevent potential out-of-bounds array writes during ACPI object
> evaluations.
>
> [...]

Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.

The list of commits applied:
[1/1] platform/x86: dell-wmi-sysman: replace deprecated strlcpy with strscpy
commit: a2b19337b0da259ba22226440eaa56518ae0571d

--
i.