Re: [PATCH] rtl8xxxu: make arrays static, makes object smaller

2019-10-09 Thread Kalle Valo
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 60 bytes. > > Before: >text data bss dec hex filename > 15133 8768 0 239015d5d > realtek/rtl8x

Re: [PATCH] rtl8xxxu: make arrays static, makes object smaller

2019-10-08 Thread Jes Sorensen
On 10/7/19 9:53 AM, 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 60 bytes. Before: text data bss dec hex filename 15133 8768 0 239015d5d realtek

Re: [PATCH] rtl8xxxu: make arrays static, makes object smaller

2019-10-07 Thread Chris Chiu
On Mon, Oct 7, 2019 at 9:53 PM 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 60 bytes. > > Before: >textdata bss dec hex filename > 151338768 0 239015d5

[PATCH] rtl8xxxu: 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 60 bytes. Before: textdata bss dec hex filename 151338768 0 239015d5d realtek/rtl8xxxu/rtl8xxxu_8192e.o 152096392 0 2160