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

2020-11-04 Thread Laurent Vivier
Le 30/10/2020 à 01:40, Chen Qun a écrit : > 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 |

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

2020-10-30 Thread Laurent Vivier
Le 30/10/2020 à 01:40, Chen Qun a écrit : > 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 v2 4/8] linux-user/mips/cpu_loop: silence the compiler warnings

2020-10-29 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 +