mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] phy: cadence-torrent: Constify struct cdns_reg_pairs
@ 2024-07-11 17:31 Christophe JAILLET
  2024-07-11 17:31 ` [PATCH 1/4] " Christophe JAILLET
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Christophe JAILLET @ 2024-07-11 17:31 UTC (permalink / raw)
  To: vkoul, kishon
  Cc: linux-phy, linux-kernel, kernel-janitors, Christophe JAILLET

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(-)

-- 
2.45.2


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

end of thread, other threads:[~2024-08-01  6:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-11 17:31 [PATCH 0/4] phy: cadence-torrent: Constify struct cdns_reg_pairs Christophe JAILLET
2024-07-11 17:31 ` [PATCH 1/4] " Christophe JAILLET
2024-07-11 17:31 ` [PATCH 2/4] phy: cadence-torrent: Constify struct cdns_torrent_vals_entry Christophe JAILLET
2024-07-11 17:31 ` [PATCH 3/4] phy: cadence-torrent: Constify struct cdns_torrent_vals Christophe JAILLET
2024-07-11 17:31 ` [PATCH 4/4] phy: cadence-torrent: Constify a u32[] Christophe JAILLET
2024-08-01  6:55 ` [PATCH 0/4] phy: cadence-torrent: Constify struct cdns_reg_pairs Vinod Koul

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®