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

From: Armin Wolf
Date: Sun Dec 28 2025 - 16:50:58 EST


Am 28.12.25 um 22:06 schrieb Gianni Ceccarelli:

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.

Thank you, i just submitted said patch for inclusion into the mainline kernel.

Thanks,
Armin Wolf