mbox series

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

Message ID cover.1720718240.git.christophe.jaillet@wanadoo.fr
Headers show
Series phy: cadence-torrent: Constify struct cdns_reg_pairs | expand

Message

Christophe JAILLET July 11, 2024, 5:31 p.m. UTC
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(-)

Comments

Vinod Koul Aug. 1, 2024, 6:55 a.m. UTC | #1
On Thu, 11 Jul 2024 19:31:05 +0200, Christophe JAILLET wrote:
> 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
> 
> [...]

Applied, thanks!

[1/4] phy: cadence-torrent: Constify struct cdns_reg_pairs
      commit: ad3654812f2cf937679128f18a146d25db9d3a0e
[2/4] phy: cadence-torrent: Constify struct cdns_torrent_vals_entry
      commit: 1d7eb113f1f0d368afbadf56ffef91d615b1cf41
[3/4] phy: cadence-torrent: Constify struct cdns_torrent_vals
      commit: 86946f25cb23b71d3ebdc3dd5bbb8ec5155c03ce
[4/4] phy: cadence-torrent: Constify a u32[]
      commit: ceb6e0435075ad8b44c78a12dbdc3ec1fb4ec301

Best regards,