Re: [PATCH] watchdog: asm9260_wdt: make array mode_name static, shrinks object size

2018-11-29 Thread Guenter Roeck
On Thu, Nov 29, 2018 at 11:25:00PM +, Colin King wrote: > From: Colin Ian King > > Don't populate the const array mode_name on the stack but instead > make it static. Makes the object code smaller by 41 bytes: > > Before: >text data bss dec hex filename >7699

[PATCH] watchdog: asm9260_wdt: make array mode_name static, shrinks object size

2018-11-29 Thread Colin King
From: Colin Ian King Don't populate the const array mode_name on the stack but instead make it static. Makes the object code smaller by 41 bytes: Before: textdata bss dec hex filename 76991872 095712563 drivers/watchdog/asm9260_wdt.o After: textdat