From nobody Tue Feb 10 21:40:17 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1563220902; cv=none; d=zoho.com; s=zohoarc; b=jOvlDGlUD92RQEGaH6QDOp5XKUpzhwjiUHS033MpeE2E4pdYE3odETtnuT5BrFg2zk0jaSkLGZyRnjUTmDI4je1MF6+bBfTjt5XspiqpnxHOu6bzcdUWT7uzqR8IS4Ciel6eVbNQ7OceFGG5I519VnKgyjHrpOApNpMpn74ehDo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1563220902; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=qheh//VKhGbL0cFlqeViHute4oPRrXyYkbbaE0rKnLc=; b=hDtrPRkZrPD53GqU4AUCklqtGzjD2Y9RbU8btCEvHePuhHxc2o0Fq65qUOCtZh+7op7mYcSqsTCyLf6jNtvUH1GN0YAlYDpp/K190/PqziSXqeG+WF334JcgJgNdSNr4j4o3sVSiVGdqtZi4171VQHVEQQJfYh/HaFQHYHta444= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1563220902198273.8004465971625; Mon, 15 Jul 2019 13:01:42 -0700 (PDT) Received: from localhost ([::1]:42464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn7AI-00051N-4a for importer@patchew.org; Mon, 15 Jul 2019 16:01:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50818) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn79g-0003OB-Cz for qemu-devel@nongnu.org; Mon, 15 Jul 2019 16:01:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hn79f-0003Mv-1S for qemu-devel@nongnu.org; Mon, 15 Jul 2019 16:01:00 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:37436 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hn79e-0003Lx-Kz for qemu-devel@nongnu.org; Mon, 15 Jul 2019 16:00:58 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 8B2F41A201C; Mon, 15 Jul 2019 22:00:53 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 4FEFF1A205D; Mon, 15 Jul 2019 22:00:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Mon, 15 Jul 2019 22:00:46 +0200 Message-Id: <1563220847-14630-5-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563220847-14630-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1563220847-14630-1-git-send-email-aleksandar.markovic@rt-rk.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.1 v4 4/5] target/mips: Add missing 'break' for certain cases of MTTR handling X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, sw@weilnetz.de, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic This was found by GCC 8.3 static analysis. Fixes: ead9360e2fb Reported-by: Stefan Weil Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Aleksandar Markovic --- target/mips/translate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/mips/translate.c b/target/mips/translate.c index b1cf5f0..ca62800 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -10055,6 +10055,7 @@ static void gen_mttr(CPUMIPSState *env, DisasContex= t *ctx, int rd, int rt, gen_mtc0(ctx, t0, rd, sel); break; } + break; case 12: switch (sel) { case 0: @@ -10064,6 +10065,7 @@ static void gen_mttr(CPUMIPSState *env, DisasContex= t *ctx, int rd, int rt, gen_mtc0(ctx, t0, rd, sel); break; } + break; case 13: switch (sel) { case 0: --=20 2.7.4