From: "Uwe Kleine-König" <ukleinek@kernel.org>
To: Gary Guo <gary@garyguo.net>
Cc: Priya Bala Govindasamy <pgovind2@uci.edu>,
m.wilczynski@samsung.com, ojeda@kernel.org, boqun@kernel.org,
bjorn3_gh@protonmail.com, lossin@kernel.org,
a.hindborg@kernel.org, aliceryhl@google.com, tmgross@umich.edu,
dakr@kernel.org, daniel.almeida@collabora.com,
tamird@kernel.org, acourbot@nvidia.com, work@onurozkan.dev,
elle@weathered-steel.dev, linux-pwm@vger.kernel.org,
rust-for-linux@vger.kernel.org, ardalan@uci.edu,
zhiyunq@cs.ucr.edu, dzueck@uci.edu
Subject: Re: [PATCH 1/1] rust: pwm: reject over-aligned driver data in `Chip::new()`
Date: Thu, 26 Nov 2026 00:15:42 +0100 [thread overview]
Message-ID: <awdrlmrOn0_lKlUX@monoceros> (raw)
In-Reply-To: <DN4H92P6CGXR.UWHS0SN6H62D@garyguo.net>
[-- Attachment #1: Type: text/plain, Size: 1536 bytes --]
On Wed, Nov 25, 2026 at 05:45:03PM +0000, Gary Guo wrote:
> On Wed Nov 25, 2026 at 5:32 PM GMT, Uwe Kleine-König wrote:
> > On Wed, Nov 25, 2026 at 04:19:30PM +0000, Gary Guo wrote:
> >> On Fri Nov 13, 2026 at 8:25 PM GMT, Priya Bala Govindasamy wrote:
> >> > This issue was detected by FerroLens, an LLM-assisted analysis tool, and
> >> > was then manually analyzed and reproduced.
> >>
> >> This should be a note and not commit message. Move it below the ---.
> >
> > FTR: While I agree that the commit log is very verbose (and being only
> > half Rust-literate I still don't understand it completely :-), but I
> > like the info that this was found using a tool (in contrast to being a
> > real problem triggering with mainline) in the commit log.
>
> Perhaps better to just state "This is a soundness issue and not triggered on
> any of the in-tree users"? I think that's what's important for commit logs.
> Whether a tool is used to find it doesn't have direct correlation to whether any
> in-tree users are affected.
>
> Given the removal of "Assisted-by" requirement recently I thought the idea is
> that exact tool / model used doesn't belong to commit message anymore.
I'm ok with making the statement "Found by static analysis" or similar.
The thing that's relevant is that it wasn't hit in real life. (Assuming
that the reproduction that the patch author wrote about involved
modifying a driver to use a struct with stricter alignment requirements
than currently present.)
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2026-11-25 23:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 20:25 [PATCH 0/1] rust: pwm: reject over-aligned driver data in `Chip::new()` Priya Bala Govindasamy
2026-11-13 20:25 ` [PATCH 1/1] " Priya Bala Govindasamy
2026-11-25 15:42 ` Michal Wilczynski
2026-11-25 16:19 ` Gary Guo
2026-11-25 17:32 ` Uwe Kleine-König
2026-11-25 17:45 ` Gary Guo
2026-11-25 23:15 ` Uwe Kleine-König [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=awdrlmrOn0_lKlUX@monoceros \
--to=ukleinek@kernel.org \
--cc=a.hindborg@kernel.org \
--cc=acourbot@nvidia.com \
--cc=aliceryhl@google.com \
--cc=ardalan@uci.edu \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=dakr@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=dzueck@uci.edu \
--cc=elle@weathered-steel.dev \
--cc=gary@garyguo.net \
--cc=linux-pwm@vger.kernel.org \
--cc=lossin@kernel.org \
--cc=m.wilczynski@samsung.com \
--cc=ojeda@kernel.org \
--cc=pgovind2@uci.edu \
--cc=rust-for-linux@vger.kernel.org \
--cc=tamird@kernel.org \
--cc=tmgross@umich.edu \
--cc=work@onurozkan.dev \
--cc=zhiyunq@cs.ucr.edu \
/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