Re: [PATCH 4/9] linux-user/mips/cpu_loop: silence the compiler warnings

2020-10-28 Thread Thomas Huth
On 28/10/2020 05.18, Chen Qun wrote: > When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning: > linux-user/mips/cpu_loop.c: In function ‘cpu_loop’: > linux-user/mips/cpu_loop.c:104:24: warning: this statement may fall through > [-Wimplicit-fallthrough=] > 104 |

[PATCH 4/9] linux-user/mips/cpu_loop: silence the compiler warnings

2020-10-27 Thread Chen Qun
When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning: linux-user/mips/cpu_loop.c: In function ‘cpu_loop’: linux-user/mips/cpu_loop.c:104:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 104 | if ((ret = get_user_ual(arg8, sp_reg +