Re: rt2x00: make const array glrt_table static

2017-07-28 Thread Kalle Valo
is wrong. commit bf98bd0be1ba509c5e6d77524ffac192f1edb2dd Author: Colin Ian King AuthorDate: Tue Jul 11 12:47:33 2017 +0100 Commit: David S. Miller CommitDate: Thu Jul 13 09:23:56 2017 -0700 rt2x00: make const array glrt_table static -- Kalle Valo

Re: rt2x00: make const array glrt_table static

2017-07-28 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Don't populate array glrt_table on the stack but make it static. > Makes the object code a smaller by over 670 bytes: > > Before: >text data bss dec hex filename > 131772 4733 0 136505 21539 rt2800lib.

Re: [PATCH] rt2x00: make const array glrt_table static

2017-07-12 Thread Colin Ian King
On 12/07/17 07:49, Stanislaw Gruszka wrote: > On Tue, Jul 11, 2017 at 12:47:33PM +0100, Colin King wrote: >> From: Colin Ian King >> >> Don't populate array glrt_table on the stack but make it static. >> Makes the object code a smaller by over 670 bytes: >> >> Before: >>text data b

Re: [PATCH] rt2x00: make const array glrt_table static

2017-07-11 Thread Stanislaw Gruszka
On Tue, Jul 11, 2017 at 12:47:33PM +0100, Colin King wrote: > From: Colin Ian King > > Don't populate array glrt_table on the stack but make it static. > Makes the object code a smaller by over 670 bytes: > > Before: >text data bss dec hex filename > 131772 473

[PATCH] rt2x00: make const array glrt_table static

2017-07-11 Thread Colin King
From: Colin Ian King Don't populate array glrt_table on the stack but make it static. Makes the object code a smaller by over 670 bytes: Before: textdata bss dec hex filename 1317724733 0 136505 21539 rt2800lib.o After: textdata bss dec hex fi