public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: liuzhensong <liuzhensong@loongson.cn>
To: Iru Cai <vimacs.hacks@gmail.com>, binutils@sourceware.org
Subject: Re: [PATCH] opcodes/loongarch: correct parse_loongarch_dis_option
Date: Tue, 30 Aug 2022 15:15:54 +0800	[thread overview]
Message-ID: <be439b4f-4720-91fb-9b37-3030a2fe2b27@loongson.cn> (raw)
In-Reply-To: <852eda61-962e-5ef0-eb1c-304d23ad7f33@gmail.com>


在 2022/8/24 上午10:29, Iru Cai 写道:
> parse_loongarch_dis_option should return 0 when parsing a valid
> option.
> ---
>  opcodes/loongarch-dis.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/opcodes/loongarch-dis.c b/opcodes/loongarch-dis.c
> index 9dcf989d0df..51c1f64edb5 100644
> --- a/opcodes/loongarch-dis.c
> +++ b/opcodes/loongarch-dis.c
> @@ -92,7 +92,10 @@ parse_loongarch_dis_option (const char *option)
>        loongarch_r_disname = loongarch_r_normal_name;
>        loongarch_f_disname = loongarch_f_normal_name;
>      }
> -  return -1;
> +  else
> +    return -1;
> +
> +  return 0;
>  }
>
>  static int

The format of this patch seems not a unified diff output, can not be 
patched directly. Do you mind remake?



  reply	other threads:[~2022-08-30  7:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-24  2:29 Iru Cai
2022-08-30  7:15 ` liuzhensong [this message]
2022-08-31  1:49   ` Iru Cai

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=be439b4f-4720-91fb-9b37-3030a2fe2b27@loongson.cn \
    --to=liuzhensong@loongson.cn \
    --cc=binutils@sourceware.org \
    --cc=vimacs.hacks@gmail.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).