mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: David Yang <mmyangfl@gmail.com>
Cc: Jakub Kicinski <kuba@kernel.org>,
	netdev@vger.kernel.org, olteanv@gmail.com, davem@davemloft.net,
	edumazet@google.com, pabeni@redhat.com, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v10 2/4] net: dsa: motorcomm: Split SMI module
Date: Wed, 19 Aug 2026 22:37:14 +0200	[thread overview]
Message-ID: <8141eb90-bdc2-45a7-ad4c-99e92e9b7983@lunn.ch> (raw)
In-Reply-To: <CAAXyoMMUWGjokvaDAkgbDM0=6SZQ_B0Vos-wNUF+dun6W_7qAw@mail.gmail.com>

> > > +int yt921x_reg_read(struct yt921x_priv *priv, u32 reg, u32 *valp)
> > > +{
> > > +     WARN_ON(!mutex_is_locked(&priv->reg_lock));
> > > +
> > > +     return priv->reg_ops->read(priv->reg_ctx, reg, valp);
> > > +}
> > > +
> > > +int yt921x_reg_write(struct yt921x_priv *priv, u32 reg, u32 val)
> > > +{
> > > +     WARN_ON(!mutex_is_locked(&priv->reg_lock));
> > > +
> > > +     return priv->reg_ops->write(priv->reg_ctx, reg, val);
> > > +}
> >
> > [Severity: Low]
> > This is a pre-existing issue and not introduced by this patch, since these
> > two lines are moved verbatim out of chip.c.
> 
> It would be better to address it in another commit. Also it's the AI
> who suggests not to include such changes.

Since it is pre-existing, a new patch would be good.

      Andrew

  reply	other threads:[~2026-08-19 20:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-16 19:38 [PATCH net-next v10 0/4] net: dsa: motorcomm: Add LED support David Yang
2026-08-16 19:38 ` [PATCH net-next v10 1/4] net: dsa: motorcomm: Move to subdirectory David Yang
2026-08-18 17:10   ` Jakub Kicinski
2026-08-16 19:38 ` [PATCH net-next v10 2/4] net: dsa: motorcomm: Split SMI module David Yang
2026-08-18 17:10   ` Jakub Kicinski
2026-08-19 20:09     ` David Yang
2026-08-19 20:37       ` Andrew Lunn [this message]
2026-08-16 19:38 ` [PATCH net-next v10 3/4] net: dsa: motorcomm: Add LED support David Yang
2026-08-18 17:10   ` Jakub Kicinski
2026-08-19 20:26     ` David Yang
2026-08-16 19:38 ` [PATCH net-next v10 4/4] dt-bindings: net: dsa: yt921x: Add LEDs definition example David Yang
2026-08-21  7:32   ` Krzysztof Kozlowski

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=8141eb90-bdc2-45a7-ad4c-99e92e9b7983@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmyangfl@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=robh@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®