mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] net: dsa: yt921x: Fix MIB overflow wraparound routine
@ 2025-10-25 17:13 David Yang
  2025-10-25 17:13 ` [PATCH net-next v2 1/2] " David Yang
  2025-10-25 17:13 ` [PATCH net-next v2 2/2] net: dsa: yt921x: Protect MIB stats with a lock David Yang
  0 siblings, 2 replies; 7+ messages in thread
From: David Yang @ 2025-10-25 17:13 UTC (permalink / raw)
  To: netdev
  Cc: David Yang, Andrew Lunn, Vladimir Oltean, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, linux-kernel

Fix warning reported by static checker.

v1: https://lore.kernel.org/r/20251024084918.1353031-1-mmyangfl@gmail.com
  - take suggestion from David Laight
  - protect MIB stats with a lock

David Yang (2):
  net: dsa: yt921x: Fix MIB overflow wraparound routine
  net: dsa: yt921x: Protect MIB stats with a lock

 drivers/net/dsa/yt921x.c | 76 +++++++++++++++++++++++++---------------
 drivers/net/dsa/yt921x.h |  4 +++
 2 files changed, 52 insertions(+), 28 deletions(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-10-27 14:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-25 17:13 [PATCH net-next v2 0/2] net: dsa: yt921x: Fix MIB overflow wraparound routine David Yang
2025-10-25 17:13 ` [PATCH net-next v2 1/2] " David Yang
2025-10-27  2:30   ` Andrew Lunn
2025-10-27  2:51     ` Yangfl
2025-10-27 12:14       ` Andrew Lunn
2025-10-27 14:24         ` Yangfl
2025-10-25 17:13 ` [PATCH net-next v2 2/2] net: dsa: yt921x: Protect MIB stats with a lock David Yang

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®