From: sashiko-bot@kernel.org
To: "Hungyu Lin" <dennylin0707@gmail.com>
Cc: linux-can@vger.kernel.org,
"Marc Kleine-Budde" <mkl@pengutronix.de>,
"Oliver Hartkopp" <socketcan@hartkopp.net>,
"Vincent Mailhol" <mailhol@kernel.org>,
"Oleksij Rempel" <o.rempel@pengutronix.de>
Subject: Re: [PATCH net-next v2] can: gw: reject frame format changes in UID updates
Date: Sat, 05 Dec 2026 07:07:45 +0000 [thread overview]
Message-ID: <sashiko-outbox-251191@kernel.org> (raw)
In-Reply-To: <20261204070726.53955-1-dennylin0707@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] can: gw: missing discovery, validation, and testing details in
commit log
--
commit 82712bd6b012184ce66de65f844d9a228b7fff67
Author: Hungyu Lin <dennylin0707@gmail.com>
> can: gw: reject frame format changes in UID updates
>
> UID updates replace only the modification rules of an existing gateway
> job. The job keeps its original flags, while cgw_parse_attr() selects
> modification functions using the flags supplied with the update. A
> request that changes CGW_FLAGS_CAN_FD can therefore install CAN FD data
> operations on a Classical CAN job.
>
> Require all flags to match when updating a job by UID. Changes to the
> other flags are equally ineffective because the job keeps its original
> settings.
>
> Fixes: 456a8a646b25 ("can: gw: add support for CAN FD frames")
> Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
[Severity: Low]
As reported by netdev-bot+sinfo@kernel.org on v1 [1], the commit message
does not explain how this issue was discovered, whether it was triggered
or validated at runtime, or how the fix was tested.
Documentation/process/maintainer-netdev.rst requires networking bug fixes
to state these details in plain English when trailers like Reported-by or
Tested-by do not already imply them. Could this information be added to
the commit log?
[1] https://lore.kernel.org/r/179626519230.3305.2687471770294019714@kernel.org
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204070726.53955-1-dennylin0707@gmail.com?part=1
prev parent reply other threads:[~2026-12-05 7:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 7:07 [PATCH net-next v2] can: gw: reject frame format changes in UID updates Hungyu Lin
2026-12-04 7:12 ` netdev-bot+sinfo
2026-12-04 8:25 ` Oliver Hartkopp
2026-12-05 7:07 ` sashiko-bot [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=sashiko-outbox-251191@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dennylin0707@gmail.com \
--cc=linux-can@vger.kernel.org \
--cc=mailhol@kernel.org \
--cc=mkl@pengutronix.de \
--cc=o.rempel@pengutronix.de \
--cc=sashiko-reviews@lists.linux.dev \
--cc=socketcan@hartkopp.net \
/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