Skip to content

phy: cadence-torrent: Constify struct cdns_reg_pairs

Christophe JAILLET kernel-janitors linux-phy lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4phy: cadence-torrent: Constify struct cdns_reg_pairsdrivers/phy/cadence/phy-cadence-torrent.c+84 -840 replies
2/4phy: cadence-torrent: Constify struct cdns_torrent_vals_entrydrivers/phy/cadence/phy-cadence-torrent.c+12 -120 replies
3/4phy: cadence-torrent: Constify struct cdns_torrent_valsdrivers/phy/cadence/phy-cadence-torrent.c+96 -960 replies
4/4phy: cadence-torrent: Constify a u32[]drivers/phy/cadence/phy-cadence-torrent.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] phy: cadence-torrent: Constify struct cdns_reg_pairs

This series is just abour constification of some structs.

It turns about 15 ko of data in ro section:

Before:
======
text data bss dec hex filename
78154 20222 16 98392 18058 drivers/phy/cadence/phy-cadence-torrent.o

After:
=====
text data bss dec hex filename
93606 4790 16 98412 1806c drivers/phy/cadence/phy-cadence-torrent.o

All patches have been compile tested only.

Christophe JAILLET (4):
phy: cadence-torrent: Constify struct cdns_reg_pairs
phy: cadence-torrent: Constify struct cdns_torrent_vals_entry
phy: cadence-torrent: Constify struct cdns_torrent_vals
phy: cadence-torrent: Constify a u32[]

 drivers/phy/cadence/phy-cadence-torrent.c | 376 +++++++++++-----------
 1 file changed, 188 insertions(+), 188 deletions(-)
Signature · 1 line
2.45.2