Received: from eggs.gnu.org ([2001:4830:134:3::10]:52598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDY1b-0006HC-GO for qemu-devel@nongnu.org; Tue, 20 Jan 2015 07:35:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDY1W-0002T0-8c for qemu-devel@nongnu.org; Tue, 20 Jan 2015 07:35:15 -0500 From: Markus Armbruster References: <1421747963-2860-1-git-send-email-armbru@redhat.com> Date: Tue, 20 Jan 2015 13:34:43 +0100 In-Reply-To: (Peter Maydell's message of "Tue, 20 Jan 2015 11:05:01 +0000") Message-ID: <87lhkxiqak.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] target-mips: Clean up switch fall through after commit fecd264 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Trivial , Leon Alrae , QEMU Developers , Aurelien Jarno Peter Maydell writes: > On 20 January 2015 at 09:59, Markus Armbruster wrote: >> Commit fecd264 added a number of fall-throughs, but neglected to >> properly document them as intentional. Commit d922445 cleaned that up >> for many, but not all cases. Take care of the remaining ones. >> >> Spotted by Coverity. >> >> Signed-off-by: Markus Armbruster >> --- >> target-mips/translate.c | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/target-mips/translate.c b/target-mips/translate.c >> index e9d86b2..8abc12b 100644 >> --- a/target-mips/translate.c >> +++ b/target-mips/translate.c >> @@ -18729,6 +18729,7 @@ static void decode_opc(CPUMIPSState *env, DisasContext *ctx) >> case OPC_SWL: >> case OPC_SWR: >> check_insn_opc_removed(ctx, ISA_MIPS32R6); >> + /* fall through */ > > Indent here seems to be out by one? The others look OK. Sorry about that. Fix up on commit, or would you like a respin?