From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: josh@joshuagrisham.com, dakkar@thenautilus.net,
Armin Wolf <W_Armin@gmx.de>
Cc: hansg@kernel.org, platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] platform/x86: samsung-galaxybook: Fix problematic pointer cast
Date: Mon, 29 Dec 2025 13:55:19 +0200 [thread overview]
Message-ID: <176700931995.7434.13437646656319029197.b4-ty@linux.intel.com> (raw)
In-Reply-To: <20251228214217.35972-1-W_Armin@gmx.de>
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.
prev parent reply other threads:[~2025-12-29 11:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-28 21:41 Armin Wolf
2025-12-29 11:55 ` Ilpo Järvinen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=176700931995.7434.13437646656319029197.b4-ty@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=W_Armin@gmx.de \
--cc=dakkar@thenautilus.net \
--cc=hansg@kernel.org \
--cc=josh@joshuagrisham.com \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®