From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Aleksandar Markovic <aleksandar.markovic@rt-rk.com>,
qemu-devel@nongnu.org
Cc: arikalo@wavecomp.com, sw@weilnetz.de, amarkovic@wavecomp.com
Subject: Re: [Qemu-devel] [PATCH for 4.1 4/4] target/mips: Add missing 'break' for certain cases of MTTR handling
Date: Fri, 12 Jul 2019 15:58:29 +0200 [thread overview]
Message-ID: <3a806b99-189a-97aa-fce6-d96af1f5ae5b@redhat.com> (raw)
In-Reply-To: <1562931470-3700-6-git-send-email-aleksandar.markovic@rt-rk.com>
On 7/12/19 1:37 PM, Aleksandar Markovic wrote:
> From: Aleksandar Markovic <amarkovic@wavecomp.com>
>
> This was found by GCC 8.3 static analysis.
>
Similar to the previous one:
Fixes: ead9360e2fb
Reported-by: Stefan Weil <sw@weilnetz.de>
> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Thanks for cleaning this!
Regards,
Phil.
> ---
> 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, DisasContext *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, DisasContext *ctx, int rd, int rt,
> gen_mtc0(ctx, t0, rd, sel);
> break;
> }
> + break;
> case 13:
> switch (sel) {
> case 0:
>
prev parent reply other threads:[~2019-07-12 13:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-12 11:37 [Qemu-devel] [PATCH for 4.1 0/4] target/mips: Fixes for 4.1 Aleksandar Markovic
2019-07-12 11:37 ` [Qemu-devel] [PATCH for 4.1 v2] linux-user: Fix structure target_ucontext for MIPS Aleksandar Markovic
2019-07-12 13:26 ` Laurent Vivier
2019-07-12 11:37 ` [Qemu-devel] [PATCH for 4.1 1/4] target/mips: Add 'fall through' comments for handling nanoMips' SHXS, SWXS Aleksandar Markovic
2019-07-12 11:37 ` [Qemu-devel] [PATCH for 4.1 2/4] target/mips: Add missing 'break' for a case of MTHC0 handling Aleksandar Markovic
2019-07-12 13:52 ` Philippe Mathieu-Daudé
2019-07-12 14:04 ` [Qemu-devel] ?==?utf-8?q? ?==?utf-8?q? [PATCH for 4.1?==?utf-8?q? 2/4]?==?utf-8?q? " Aleksandar Markovic
2019-07-12 11:37 ` [Qemu-devel] [PATCH for 4.1 3/4] target/mips: Add missing 'break' for certain cases of MFTR handling Aleksandar Markovic
2019-07-12 13:56 ` Philippe Mathieu-Daudé
2019-07-12 14:15 ` [Qemu-devel] ?==?utf-8?q? ?==?utf-8?q? [PATCH for 4.1?==?utf-8?q? 3/4]?==?utf-8?q? " Aleksandar Markovic
2019-07-12 11:37 ` [Qemu-devel] [PATCH for 4.1 4/4] target/mips: Add missing 'break' for certain cases of MTTR handling Aleksandar Markovic
2019-07-12 13:58 ` Philippe Mathieu-Daudé [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3a806b99-189a-97aa-fce6-d96af1f5ae5b@redhat.com \
--to=philmd@redhat.com \
--cc=aleksandar.markovic@rt-rk.com \
--cc=amarkovic@wavecomp.com \
--cc=arikalo@wavecomp.com \
--cc=qemu-devel@nongnu.org \
--cc=sw@weilnetz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).