[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176700931995.7434.13437646656319029197.b4-ty@linux.intel.com>
Date: Mon, 29 Dec 2025 13:55:19 +0200
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: josh@...huagrisham.com, dakkar@...nautilus.net,
Armin Wolf <W_Armin@....de>
Cc: hansg@...nel.org, platform-driver-x86@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] platform/x86: samsung-galaxybook: Fix problematic
pointer cast
On Sun, 28 Dec 2025 22:41:31 +0100, Armin Wolf wrote:
> A user reported that reading the charge threshold on his device
> results in very strange values (like 78497792) being returned.
> The reason for this seems to be the fact that the driver casts
> the int pointer to an u8 pointer, leaving the last 3 bytes of
> the destination uninitialized. Fix this by using a temporary
> variable instead.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: samsung-galaxybook: Fix problematic pointer cast
commit: d37cd54ebeac37a763fbf303ed25f8a6e98328ff
--
i.
Powered by blists - more mailing lists