Re: [PATCH] ssb: make array pwr_info_offset static const, makes object smaller

2019-09-13 Thread Kalle Valo
Colin King wrote: > From: Colin Ian King > > Don't populate the array pwr_info_offset on the stack but instead make it > static const. Makes the object code smaller by 207 bytes. > > Before: >text data bss dec hex filename > 26066 3000 64 2913071c

Re: [PATCH] ssb: make array pwr_info_offset static const, makes object smaller

2019-09-09 Thread Michael Büsch
On Fri, 6 Sep 2019 16:40:53 +0100 Colin King wrote: > diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c > index da2d2ab8104d..7c3ae52f2b15 100644 > --- a/drivers/ssb/pci.c > +++ b/drivers/ssb/pci.c > @@ -595,7 +595,7 @@ static void sprom_extract_r8(struct ssb_sprom *out, const > u16 *in) > {

[PATCH] ssb: make array pwr_info_offset static const, makes object smaller

2019-09-06 Thread Colin King
From: Colin Ian King Don't populate the array pwr_info_offset on the stack but instead make it static const. Makes the object code smaller by 207 bytes. Before: textdata bss dec hex filename 260663000 64 2913071ca drivers/ssb/pci.o After: textdata