Re: [PATCH v2] platform/x86: dell-wmi-sysman: Clean up security buffer helpers
From: Ilpo Järvinen
Date: Tue Apr 07 2026 - 10:45:16 EST
On Tue, 31 Mar 2026 18:03:11 +0200, Thorsten Blum wrote:
> In calculate_security_buffer(), call strlen() once and use ALIGN() to
> round up to an even size.
>
> In populate_security_buffer(), also avoid recomputing strlen(), rename
> the u32 pointer from 'seclen' to 'seclenp' to avoid confusion with the
> new length variable, and drop the memcpy() guard since calling it with
> size 0 is a no-op and therefore safe.
>
> [...]
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.
The list of commits applied:
[1/1] platform/x86: dell-wmi-sysman: Clean up security buffer helpers
commit: 2d5821579d39621fcce1b3d19ea25a2a9cf59cd9
--
i.