Skip to content

net: dsa: Make dsa_switch_ops const

Florian Fainelli netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: dsa: b53: Export most operations to other driversdrivers/net/dsa/b53/b53_common.c drivers/net/dsa/b53/b53_priv.h+79 -330 replies
2/4net: dsa: bcm_sf2: Declare our own dsa_switch_opsdrivers/net/dsa/bcm_sf2.c+33 -200 replies
3/4net: dsa: Encapsulate legacy switch drivers into dsa_switch_driverdrivers/net/dsa/mv88e6060.c drivers/net/dsa/mv88e6xxx/chip.c include/net/dsa.h +1 more+26 -130 replies
4/4net: dsa: Make dsa_switch_ops constdrivers/net/dsa/b53/b53_common.c drivers/net/dsa/bcm_sf2.c drivers/net/dsa/mv88e6060.c +5 more+13 -130 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchVivien Didelot
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/4] net: dsa: Make dsa_switch_ops const

Hi all,

This patch series allows us to annotate dsa_switch_ops with a const qualifier.

Florian Fainelli (4):
net: dsa: b53: Export most operations to other drivers
net: dsa: bcm_sf2: Declare our own dsa_switch_ops
net: dsa: Encapsulate legacy switch drivers into dsa_switch_driver
net: dsa: Make dsa_switch_ops const

 drivers/net/dsa/b53/b53_common.c | 81 +++++++++++++++++++++++-----------------
 drivers/net/dsa/b53/b53_priv.h   | 33 ++++++++++++++++
 drivers/net/dsa/bcm_sf2.c        | 53 ++++++++++++++++----------
 drivers/net/dsa/mv88e6060.c      | 10 +++--
 drivers/net/dsa/mv88e6xxx/chip.c | 10 +++--
 drivers/net/dsa/qca8k.c          |  2 +-
 include/net/dsa.h                | 13 ++++---
 net/dsa/dsa.c                    | 22 ++++++-----
 net/dsa/hwmon.c                  |  2 +-
 9 files changed, 149 insertions(+), 77 deletions(-)
Signature · 1 line
2.9.3