RE: [PATCH 9/9] hw/timer/renesas_tmr: silence the compiler warnings

2020-10-29 Thread Chenqun (kuhn)
t; Zhanghailiang ; ganqixin > ; Euler Robot > Subject: Re: [PATCH 9/9] hw/timer/renesas_tmr: silence the compiler warnings > > On Wed, 28 Oct 2020 at 15:07, Thomas Huth wrote: > > > > On 28/10/2020 10.59, Philippe Mathieu-Daudé wrote: > > > On 10/28/20 5:18 AM, Che

RE: [PATCH 9/9] hw/timer/renesas_tmr: silence the compiler warnings

2020-10-29 Thread Chenqun (kuhn)
iang ; Yoshinori Sato > ; Magnus Damm ; > ganqixin ; Euler Robot > Subject: Re: [PATCH 9/9] hw/timer/renesas_tmr: silence the compiler warnings > > On 10/28/20 5:18 AM, Chen Qun wrote: > > When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed > warning: > &g

Re: [PATCH 9/9] hw/timer/renesas_tmr: silence the compiler warnings

2020-10-28 Thread Peter Maydell
On Wed, 28 Oct 2020 at 15:07, Thomas Huth wrote: > > On 28/10/2020 10.59, Philippe Mathieu-Daudé wrote: > > On 10/28/20 5:18 AM, Chen Qun wrote: > >> When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed > >> warning: > >> ../hw/timer/renesas_tmr.c: In function ‘tmr_read’: > >> ../

Re: [PATCH 9/9] hw/timer/renesas_tmr: silence the compiler warnings

2020-10-28 Thread Thomas Huth
On 28/10/2020 10.59, Philippe Mathieu-Daudé wrote: > On 10/28/20 5:18 AM, Chen Qun wrote: >> When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning: >> ../hw/timer/renesas_tmr.c: In function ‘tmr_read’: >> ../hw/timer/renesas_tmr.c:221:19: warning: this statement may fall thro

Re: [PATCH 9/9] hw/timer/renesas_tmr: silence the compiler warnings

2020-10-28 Thread Philippe Mathieu-Daudé
On 10/28/20 5:18 AM, Chen Qun wrote: > When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning: > ../hw/timer/renesas_tmr.c: In function ‘tmr_read’: > ../hw/timer/renesas_tmr.c:221:19: warning: this statement may fall through > [-Wimplicit-fallthrough=] > 221 | } els

[PATCH 9/9] hw/timer/renesas_tmr: silence the compiler warnings

2020-10-27 Thread Chen Qun
When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning: ../hw/timer/renesas_tmr.c: In function ‘tmr_read’: ../hw/timer/renesas_tmr.c:221:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 221 | } else if (ch == 0) {i | ^ .