mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Cunhao Lu" <1579567540@qq.com>
To: netdev-bot+sashiko <netdev-bot+sashiko@kernel.org>
Cc: mkl <mkl@pengutronix.de>, mailhol <mailhol@kernel.org>,
	heiko <heiko@sntech.de>, davem <davem@davemloft.net>,
	wg <wg@grandegger.com>, socketcan <socketcan@hartkopp.net>,
	kernel <kernel@pengutronix.de>,
	linux-can <linux-can@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-rockchip <linux-rockchip@lists.infradead.org>,
	stable <stable@vger.kernel.org>, kuba <kuba@kernel.org>
Subject: Re: [PATCH net v5 2/6] can: dev: add close_candev_cancel_restart_sync()
Date: Sat, 17 Oct 2026 11:42:53 +0800	[thread overview]
Message-ID: <tencent_BCC00222B29F6013030D8F0C6C02DEC84E06@qq.com> (raw)
In-Reply-To: <179219884300.1406898.17794218418731765550@kernel.org>

Hi,

> [Severity: Low]
> This isn't a bug, but could the commit message say why this is going to
> stable?
>
> On its own, the patch is a no-op refactor of close_candev() plus a new
> helper. It has no Fixes: tag and no "# prerequisite for ..." annotation.

This patch is a prerequisite for the next patch, "can: rockchip_canfd:
cancel bus-off restart before closing the device".

> [Severity: Low]
> In this patch, the only caller of close_candev_cancel_restart_sync() is
> close_candev() in drivers/net/can/dev/dev.c, and that conversion keeps
> the old behaviour. As a result, no driver's ndo_stop gets the early
> cancellation that the commit message describes.
> ...
> Could the commit message mention that user, so the helper doesn't look
> unused when this patch is reviewed alone?

Yes. The following Rockchip patch is the intended user. The current
commit message explains why drivers need the helper, but does not
explicitly name that user. The conversion of close_candev() intentionally
preserves its existing behaviour.

If v6 is needed, I will update the commit message to clarify this.

Regards,
Cunhao Lu

  reply	other threads:[~2026-10-17  3:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-15  9:45 [PATCH net v5 0/6] can: fix bus-off restart and device close races Cunhao Lu via B4 Relay
2026-10-15  9:45 ` [PATCH net v5 1/6] can: dev: prevent bus-off recovery when the interface is not running Cunhao Lu via B4 Relay
2026-10-17  1:00   ` netdev-bot+sashiko
2026-10-17  3:27     ` Cunhao Lu
2026-10-15  9:45 ` [PATCH net v5 2/6] can: dev: add close_candev_cancel_restart_sync() Cunhao Lu via B4 Relay
2026-10-17  1:00   ` netdev-bot+sashiko
2026-10-17  3:42     ` Cunhao Lu [this message]
2026-10-15  9:45 ` [PATCH net v5 3/6] can: rockchip_canfd: cancel bus-off restart before closing the device Cunhao Lu via B4 Relay
2026-10-15  9:45 ` [PATCH net v5 4/6] can: rockchip_canfd: prevent timestamp work from rearming after bus-off Cunhao Lu via B4 Relay
2026-10-15  9:45 ` [PATCH net v5 5/6] can: rockchip_canfd: serialize TX with bus-off and restart Cunhao Lu via B4 Relay
2026-10-17  1:00   ` netdev-bot+sashiko
2026-10-17  3:54     ` Cunhao Lu
2026-10-15  9:45 ` [PATCH net v5 6/6] can: rockchip_canfd: serialize timecounter timestamp conversion Cunhao Lu via B4 Relay

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=tencent_BCC00222B29F6013030D8F0C6C02DEC84E06@qq.com \
    --to=1579567540@qq.com \
    --cc=davem@davemloft.net \
    --cc=heiko@sntech.de \
    --cc=kernel@pengutronix.de \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-can@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mailhol@kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=socketcan@hartkopp.net \
    --cc=stable@vger.kernel.org \
    --cc=wg@grandegger.com \
    /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®