Re: mwifiex: make const arrays static to shink object code size

2017-09-20 Thread Kalle Valo
16149 576 85985 14fe1 cfg80211.o > > After: >text data bss dec hex filename > 68385 16725 576 85686 14eb6 cfg80211.o > > Signed-off-by: Colin Ian King Patch applied to wireless-drivers-next.git, thanks. d157bcfaf854 mwifiex: mak

[PATCH] mwifiex: make const arrays static to shink object code size

2017-09-16 Thread Colin King
From: Colin Ian King Don't populate const arrays on the stack, instead make them static Makes the object code smaller by nearly 300 bytes: Before: textdata bss dec hex filename 69260 16149 576 85985 14fe1 cfg80211.o After: textdata bss dec hex f