From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kIpWZ-00013M-23 for mharc-qemu-trivial@gnu.org; Thu, 17 Sep 2020 04:44:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIpWX-00012e-6h for qemu-trivial@nongnu.org; Thu, 17 Sep 2020 04:44:13 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:39152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIpWV-0000Id-Ae for qemu-trivial@nongnu.org; Thu, 17 Sep 2020 04:44:12 -0400 Received: by mail-wr1-x442.google.com with SMTP id a17so1119229wrn.6 for ; Thu, 17 Sep 2020 01:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=I+pwgnpkj56d7gdUixPSwknpD7B6sGS5HCnPB2RrnTc=; b=p7pww15Za380/prz3FG+EufMW7RcJOHZgOQRXpasGwqljJ9HkwrS+gSYxy2u1h2N7B /co0n8g3EKpOOdCmEy/nlaahwc3NS1ExsC6pQwZ5be6A7YPdSXv1QFOVkWbgtCMhXl+N 8DND56qE2p8UWrkYXUrJVp5c3ec/4VcWkQKzEISo9T5jU5ruU/IeDGJtvFTDVvylhDTC OqcQ9J5jLk05RT0wpwP/wbhlZbjlkPbjSE4rLrVwEFsjIKQuTBUGqTLPi9Y5N5EVJq8N jcS2KrMHmbiTXEK3EIiQxkjNkrsTIsGqfn1b5Rqx4HMDbmKVEv69FGzkH/9P24alcnih EOkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=I+pwgnpkj56d7gdUixPSwknpD7B6sGS5HCnPB2RrnTc=; b=hCl3ke2yNaK9VNmswT/Lh0hHTctJ19nmja8tSL0v6qqHIt4non8NP7f3tgRFcelH1O /XS+DV1+enkteBx+79x5YpEOZCtLjNIjPxyTl2WjFRRUqzheNC1O0Qo1FMo78Gj833J+ +C+3mmITFFUf0f9OxHnEvctkwujv/51WEn1J4/BfHOCLyf4k9aCbilYlvzwscErwLCBp sDp8BJs1EeTuQ+D9jNCBebUoY028PhCBgTlXmK1KCBSAhywzW03676D4wvRgSx/ES+U7 /1MeR7ZuMnaZwIFI+MrZov68kUL5acpgI885an36pOXCSf7sl5nQtN1uod0J6d6VnrMC 7ZVQ== X-Gm-Message-State: AOAM5315yzclhLziwdIEyB3cVrmazMdCphsjl6YoVrbSE1OwZ14QsskA fUw29J/al4CMrk5uKRuRsoXlkkcRzfEuMQ== X-Google-Smtp-Source: ABdhPJzxC61hhUltYQMi2x4zUJqEyjf8btGRoUYPYHhk/nbm2wNmxQowwZgbCUctHEK90mWmtBW2Vg== X-Received: by 2002:adf:b602:: with SMTP id f2mr29649230wre.186.1600332249728; Thu, 17 Sep 2020 01:44:09 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 70sm10414212wme.15.2020.09.17.01.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 01:44:08 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 8B3BF1FF7E; Thu, 17 Sep 2020 09:44:07 +0100 (BST) References: <20200917075029.313-1-zhaolichang@huawei.com> <20200917075029.313-9-zhaolichang@huawei.com> User-agent: mu4e 1.5.5; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: zhaolichang Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org Subject: Re: [PATCH V3 08/10] disas/: fix some comment spelling errors In-reply-to: <20200917075029.313-9-zhaolichang@huawei.com> Date: Thu, 17 Sep 2020 09:44:07 +0100 Message-ID: <871rj0ztbc.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::442; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x442.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2020 08:44:13 -0000 zhaolichang writes: > I found that there are many spelling errors in the comments of qemu, > so I used the spellcheck tool to check the spelling errors > and finally found some spelling errors in the disas folder. > > Signed-off-by: zhaolichang Reviewed-by: Alex Benn=C3=A9e I suggest on your next posting you CC qemu-trivial@nongnu.org so the patches can get pulled in via the trivial tree. > --- > disas/hppa.c | 2 +- > disas/m68k.c | 8 ++++---- > disas/ppc.c | 2 +- > 3 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/disas/hppa.c b/disas/hppa.c > index 2dbd1fc445..dcf9a47f34 100644 > --- a/disas/hppa.c > +++ b/disas/hppa.c > @@ -2021,7 +2021,7 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info = *info) > fput_fp_reg (GET_FIELD (insn, 6, 10), info); > break; >=20=20 > - /* 'fA' will not generate a space before the regsiter > + /* 'fA' will not generate a space before the register > name. Normally that is fine. Except that it > causes problems with xmpyu which has no FP format > completer. */ > diff --git a/disas/m68k.c b/disas/m68k.c > index 863409c67c..aefaecfbd6 100644 > --- a/disas/m68k.c > +++ b/disas/m68k.c > @@ -70,7 +70,7 @@ struct floatformat > unsigned int exp_start; > unsigned int exp_len; > /* Bias added to a "true" exponent to form the biased exponent. It > - is intentionally signed as, otherwize, -exp_bias can turn into a > + is intentionally signed as, otherwise, -exp_bias can turn into a > very large number (e.g., given the exp_bias of 0x3fff and a 64 > bit long, the equation (long)(1 - exp_bias) evaluates to > 4294950914) instead of -16382). */ > @@ -479,7 +479,7 @@ struct m68k_opcode_alias > and remaining 3 bits of register shifted 9 bits in first word. > Indicate upper/lower in 1 bit shifted 7 bits in second word. > Use with `R' or `u' format. > - n `m' withouth upper/lower indication. (For M[S]ACx; 4 bits split > + n `m' without upper/lower indication. (For M[S]ACx; 4 bits split > with MSB shifted 6 bits in first word and remaining 3 bits of > register shifted 9 bits in first word. No upper/lower > indication is done.) Use with `R' or `u' format. > @@ -854,7 +854,7 @@ fetch_arg (unsigned char *buffer, >=20=20 > /* Check if an EA is valid for a particular code. This is required > for the EMAC instructions since the type of source address determines > - if it is a EMAC-load instruciton if the EA is mode 2-5, otherwise it > + if it is a EMAC-load instruction if the EA is mode 2-5, otherwise it > is a non-load EMAC instruction and the bits mean register Ry. > A similar case exists for the movem instructions where the register > mask is interpreted differently for different EAs. */ > @@ -1080,7 +1080,7 @@ print_indexed (int basereg, >=20=20 > /* Returns number of bytes "eaten" by the operand, or > return -1 if an invalid operand was found, or -2 if > - an opcode tabe error was found. > + an opcode table error was found. > ADDR is the pc for this arg to be relative to. */ >=20=20 > static int > diff --git a/disas/ppc.c b/disas/ppc.c > index 63e97cfe1d..02be878198 100644 > --- a/disas/ppc.c > +++ b/disas/ppc.c > @@ -5226,7 +5226,7 @@ operand_value_powerpc (const struct powerpc_operand= *operand, > if ((operand->flags & PPC_OPERAND_SIGNED) !=3D 0) > { > /* BITM is always some number of zeros followed by some > - number of ones, followed by some numer of zeros. */ > + number of ones, followed by some number of zeros. */ > unsigned long top =3D operand->bitm; > /* top & -top gives the rightmost 1 bit, so this > fills in any trailing zeros. */ --=20 Alex Benn=C3=A9e