Re: samsung-galaxybook writes to a int via a u8*

From: Gianni Ceccarelli
Date: Sun Dec 28 2025 - 16:07:02 EST


On 2025-12-28 Armin Wolf <W_Armin@xxxxxx> wrote:
> Thanks for your report, this pointer cast indeed seems to be the root
> cause of the strange values returned by charge_control_end_threshold.
> I attached a patch for you to test that implements you suggestion.

I confirm that the patch works.

--
Dakkar - <Mobilis in mobile>
GPG public key fingerprint = A071 E618 DD2C 5901 9574
6FE2 40EA 9883 7519 3F88
key id = 0x75193F88