Re: [PATCH 4/6] hw/timer/aspeed_timer: Add a fall through comment

2019-12-18 Thread Aleksandar Markovic
On Tue, Dec 17, 2019 at 6:37 PM Philippe Mathieu-Daudé wrote: > > Reported by GCC9 when building with CFLAG -Wimplicit-fallthrough=2: > > hw/timer/aspeed_timer.c: In function ‘aspeed_timer_set_value’: > hw/timer/aspeed_timer.c:283:24: error: this statement may fall through > [-Werror=implicit

Re: [PATCH 4/6] hw/timer/aspeed_timer: Add a fall through comment

2019-12-17 Thread Cédric Le Goater
On 17/12/2019 18:34, Philippe Mathieu-Daudé wrote: > Reported by GCC9 when building with CFLAG -Wimplicit-fallthrough=2: > > hw/timer/aspeed_timer.c: In function ‘aspeed_timer_set_value’: > hw/timer/aspeed_timer.c:283:24: error: this statement may fall through > [-Werror=implicit-fallthrough=

[PATCH 4/6] hw/timer/aspeed_timer: Add a fall through comment

2019-12-17 Thread Philippe Mathieu-Daudé
Reported by GCC9 when building with CFLAG -Wimplicit-fallthrough=2: hw/timer/aspeed_timer.c: In function ‘aspeed_timer_set_value’: hw/timer/aspeed_timer.c:283:24: error: this statement may fall through [-Werror=implicit-fallthrough=] 283 | if (old_reload || !t->reload) { |