Re: [PATCH 1/3] watchdog: kempld: fix gcc-4.3 build

2017-03-01 Thread Guenter Roeck
On 03/01/2017 01:15 AM, Arnd Bergmann wrote: gcc-4.3 can't decide whether the constant value in kempld_prescaler[PRESCALER_21] is built-time constant or not, and gets confused by the logic in do_div(): drivers/watchdog/kempld_wdt.o: In function `kempld_wdt_set_stage_timeout': kempld_wdt.c:(.text

[PATCH 1/3] watchdog: kempld: fix gcc-4.3 build

2017-03-01 Thread Arnd Bergmann
gcc-4.3 can't decide whether the constant value in kempld_prescaler[PRESCALER_21] is built-time constant or not, and gets confused by the logic in do_div(): drivers/watchdog/kempld_wdt.o: In function `kempld_wdt_set_stage_timeout': kempld_wdt.c:(.text.kempld_wdt_set_stage_timeout+0x130): undefined