Skip to content

net: constify struct regmap_bus/regmap_config

Javier Carrasco linux-arm-kernel lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected] change-id 20240703-net-const-regmap-1c1e64e2c30a

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: dsa: qca8k: constify struct regmap_configdrivers/net/dsa/qca/qca8k-8xxx.c+1 -11 replyApplied
2/4net: ti: icss-iep: constify struct regmap_configdrivers/net/ethernet/ti/icssg/icss_iep.c+2 -22 repliesApplied
3/4net: encx24j600: constify struct regmap_bus/regmap_configdrivers/net/ethernet/microchip/encx24j600-regmap.c+3 -30 repliesApplied
4/4net: dsa: ar9331: constify struct regmap_busdrivers/net/dsa/qca/ar9331.c+1 -11 replyApplied

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchRoger QuadrosVladimir OlteanMD Danish Anwar
1/4R-b
2/4R-b R-b
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] net: constify struct regmap_bus/regmap_config

This series adds the const modifier to the remaining regmap_bus and regmap_config structs within the net subsystem that are effectively used as const (i.e., only read after their declaration), but kept as writtable data.

---
Javier Carrasco (4):
net: dsa: qca8k: constify struct regmap_config
net: ti: icss-iep: constify struct regmap_config
net: encx24j600: constify struct regmap_bus/regmap_config
net: dsa: ar9331: constify struct regmap_bus

 drivers/net/dsa/qca/ar9331.c                       | 2 +-
 drivers/net/dsa/qca/qca8k-8xxx.c                   | 2 +-
 drivers/net/ethernet/microchip/encx24j600-regmap.c | 6 +++---
 drivers/net/ethernet/ti/icssg/icss_iep.c           | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

---
base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233
change-id: 20240703-net-const-regmap-1c1e64e2c30a

Best regards,

Signature · 1 line
Javier Carrasco <[email protected]>