Linux CAN drivers development
 help / color / mirror / Atom feed
From: Vincent Donnefort <vdonnefort@google.com>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Vincent Mailhol <mailhol@kernel.org>,
	Peter Fink <pfink@christ-es.de>,
	Eric Evenchick <eric@evenchick.com>,
	Maximilian Schneider <max@schneidersoft.net>,
	Wolfgang Grandegger <wg@grandegger.com>,
	kernel@pengutronix.de, linux-can@vger.kernel.org
Subject: Re: [PATCH can-next v9 06/13] can: gs_usb: add support for context analysis
Date: Tue, 24 Nov 2026 09:46:38 +0000	[thread overview]
Message-ID: <awVc_pVaCbL1MEZ7@google.com> (raw)
In-Reply-To: <awVcnlkUDarUx5Y7@google.com>

On Tue, Nov 24, 2026 at 09:45:02AM +0000, Vincent Donnefort wrote:
> [...]
> 
> > -static u64 gs_usb_timestamp_read(struct cyclecounter *cc) __must_hold(&dev->tc_lock)
> > +static u64 gs_usb_timestamp_read(struct cyclecounter *cc)
> > +	__must_hold(&container_of(cc, struct gs_usb, cc)->tc_lock)
> >  {
> >  	struct gs_usb *parent = container_of(cc, struct gs_usb, cc);
> >  	u32 timestamp = 0;
> > @@ -1037,7 +1040,7 @@ static int gs_can_open(struct net_device *netdev)
> >  		if (parent->flags & GS_USB_PARENT_FLAGS_HW_TIMESTAMP) {
> >  			rc = gs_usb_timestamp_start(parent);
> >  			if (rc) {
> > -				if (rc == -ENODEV) {
> > +				if (rc == -ENODEV)
> 
> Could this make the series non-bisectable? 
> 
> >  					netif_device_detach(netdev);
> >  
> >  				goto out_can_rx_offload_disable;
> > 
> > -- 
> > 2.53.0
> > 
> 
> -- 
> Vincent

Ha sorry, I missed the v10!

-- 
Vincent

  reply	other threads:[~2026-11-24  9:46 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-21 22:35 [PATCH can-next v9 00/13] gs_usb: fixes Marc Kleine-Budde
2026-11-21 22:35 ` [PATCH can-next v9 01/13] can: gs_usb: gs_usb_probe(): init netdev completely before register_candev() Marc Kleine-Budde
2026-11-21 22:36 ` [PATCH can-next v9 02/13] can: gs_usb: gs_usb_receive_bulk_callback(): check for overflow flag if SKB allocation fails Marc Kleine-Budde
2026-11-21 22:36 ` [PATCH can-next v9 03/13] can: gs_usb: gs_usb_receive_bulk_callback(): add missing call to can_rx_offload_irq_finish Marc Kleine-Budde
2026-11-21 22:36 ` [PATCH can-next v9 04/13] can: gs_usb: use spin_lock_irqsave() instead of spin_lock_bh() to protect struct gs_usb::tc Marc Kleine-Budde
2026-11-21 22:36 ` [PATCH can-next v9 05/13] can: gs_usb: fix hardware timestamp state for mixed channels Marc Kleine-Budde
2026-11-21 22:43   ` sashiko-bot
2026-11-23 12:00   ` netdev-bot+sashiko
2026-11-23 16:59     ` Marc Kleine-Budde
2026-11-21 22:36 ` [PATCH can-next v9 06/13] can: gs_usb: add support for context analysis Marc Kleine-Budde
2026-11-21 22:42   ` sashiko-bot
2026-11-23 12:00   ` netdev-bot+sashiko
2026-11-24  9:45   ` Vincent Donnefort
2026-11-24  9:46     ` Vincent Donnefort [this message]
2026-11-24  9:59     ` Marc Kleine-Budde
2026-11-21 22:36 ` [PATCH can-next v9 07/13] can: gs_usb: gs_make_candev(): check can_rx_offload_add_manual() return value Marc Kleine-Budde
2026-11-21 22:36 ` [PATCH can-next v9 08/13] can: gs_usb: gs_usb_receive_bulk_callback(): use dev_info() to print re-submit info messages Marc Kleine-Budde
2026-11-21 22:42   ` sashiko-bot
2026-11-23 12:00   ` netdev-bot+sashiko
2026-11-21 22:36 ` [PATCH can-next v9 09/13] can: gs_usb: gs_usb_get_gs_can(): introduce new function to consolidate validation of struct gs_can Marc Kleine-Budde
2026-11-23 12:00   ` netdev-bot+sashiko
2026-11-21 22:36 ` [PATCH can-next v9 10/13] can: gs_usb: gs_usb_get_gs_can(): report channel number out of range error Marc Kleine-Budde
2026-11-23 12:00   ` netdev-bot+sashiko
2026-11-21 22:36 ` [PATCH can-next v9 11/13] can: gs_usb: gs_usb_get_rx_data_length(): introduce new function to consolidate validation of host frame Marc Kleine-Budde
2026-11-23 12:00   ` netdev-bot+sashiko
2026-11-21 22:36 ` [PATCH can-next v9 12/13] can: gs_usb: gs_usb_host_frame_header_valid(): drop invalid CAN error frames Marc Kleine-Budde
2026-11-21 22:53   ` sashiko-bot
2026-11-21 23:02     ` Marc Kleine-Budde
2026-11-23  7:41     ` Marc Kleine-Budde
2026-11-23 12:00   ` netdev-bot+sashiko
2026-11-21 22:36 ` [PATCH can-next v9 13/13] can: gs_usb: gs_usb_host_frame_header_valid(): drop CAN frames with invalid DLC Marc Kleine-Budde
2026-11-23 12:00   ` netdev-bot+sashiko

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=awVc_pVaCbL1MEZ7@google.com \
    --to=vdonnefort@google.com \
    --cc=eric@evenchick.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-can@vger.kernel.org \
    --cc=mailhol@kernel.org \
    --cc=max@schneidersoft.net \
    --cc=mkl@pengutronix.de \
    --cc=pfink@christ-es.de \
    --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