Re: [PATCH] platform/x86: uniwill-laptop: Fix signedness bug
From: Ilpo Järvinen
Date: Thu Apr 09 2026 - 09:48:17 EST
On Fri, 03 Apr 2026 02:09:28 -0500, Ethan Tidmore wrote:
> The function sysfs_match_string() can return negative error codes and
> the variable assigned to it is the enum 'option'. Which could be an
> unsigned int due to different compiler implementations.
>
> Assign signed variable 'ret' to sysfs_match_string(), check for error,
> then assign ret to option.
>
> [...]
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: uniwill-laptop: Fix signedness bug
commit: 6b0567dc4c9ad140044400e06dd97fdce12c204f
--
i.