Re: [PATCH] net: phy: mscc: make arrays static, makes object smaller

2019-10-08 Thread Jakub Kicinski
On Mon, 7 Oct 2019 13:03:08 +0100, Colin King wrote: > From: Colin Ian King > > Don't populate const arrays on the stack but instead make them > static. Makes the object code smaller by 1058 bytes. > > Before: >text data bss dec hex filename > 29879 6144

[PATCH] net: phy: mscc: make arrays static, makes object smaller

2019-10-07 Thread Colin King
From: Colin Ian King Don't populate const arrays on the stack but instead make them static. Makes the object code smaller by 1058 bytes. Before: textdata bss dec hex filename 298796144 0 360238cb7 drivers/net/phy/mscc.o After: textdata bss dec