Re: [PATCH] char/mwave: make some arrays static const to make object code smaller

2017-07-10 Thread Colin Ian King
On 10/07/17 16:28, Arnd Bergmann wrote: > On Mon, Jul 10, 2017 at 5:08 PM, Colin King wrote: >> From: Colin Ian King >> >> Don't populate arrays on the stack but make them static. Makes >> the object code smaller. Also remove temporary variables that >> have hard coded array sizes and just use

Re: [PATCH] char/mwave: make some arrays static const to make object code smaller

2017-07-10 Thread Arnd Bergmann
On Mon, Jul 10, 2017 at 5:08 PM, Colin King wrote: > From: Colin Ian King > > Don't populate arrays on the stack but make them static. Makes > the object code smaller. Also remove temporary variables that > have hard coded array sizes and just use ARRAY_SIZE instead and > wrap some lines that a