From nobody Tue Feb 10 02:00:42 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.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=1597246347; cv=none; d=zohomail.com; s=zohoarc; b=jP1DatToItXX3/2ev4q/abXY7bjQz1iIB/7GXaM7FxNS6OGv6fMJGz1IWXiIkwm9U5XkgDcbRgz1yGMHljoze4G+y5fAhFl2rDaDeOaP+ei0l09xF0vJzFLNvz0uzXYUh6SxUcyzE/AxcOID2zU6N4GzDwrTcXfR+dzImkCdLrA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597246347; 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; bh=IumZUh7hScL0e4GrG/DWUSn4SjCNLH1lhP4a6zvFab0=; b=jqk40mDkhB0ElaLFBXfJ7ATAj1g/Alhx+eSoDGc4F5SozjX4EJhl1tPs66X0mSHRmqFubx28qXgt3JzEGSy9nD7ucACo9Qx4cZvrcEDhpNEbYBB+873WLfX7fSBMB91Llf0PLNSoMYOVScHw7Tr91+qFR/qw91yxUXHmV10jGyE= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.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 1597246346996348.5082111885331; Wed, 12 Aug 2020 08:32:26 -0700 (PDT) Received: from localhost ([::1]:48690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5r28-0008Nm-Rx for importer@patchew.org; Wed, 12 Aug 2020 09:43:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5noh-00089U-5y; Wed, 12 Aug 2020 06:17:09 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:4177 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5noc-00032P-0K; Wed, 12 Aug 2020 06:17:06 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 803421DFF6DA16B62990; Wed, 12 Aug 2020 18:16:55 +0800 (CST) Received: from localhost (10.174.187.253) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Wed, 12 Aug 2020 18:16:45 +0800 From: zhaolichang To: Subject: [PATCH RFC 04/10] scripts/: fix some comment spelling errors Date: Wed, 12 Aug 2020 18:14:54 +0800 Message-ID: <20200812101500.2066-5-zhaolichang@huawei.com> X-Mailer: git-send-email 2.26.2.windows.1 In-Reply-To: <20200812101500.2066-1-zhaolichang@huawei.com> References: <20200812101500.2066-1-zhaolichang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.174.187.253] X-CFilter-Loop: Reflected Received-SPF: pass (zohomail.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; Received-SPF: pass client-ip=45.249.212.190; envelope-from=zhaolichang@huawei.com; helo=huawei.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/12 06:16:54 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 12 Aug 2020 09:40:49 -0400 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: zhaolichang , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" 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 scripts folder. Signed-off-by: zhaolichang Reviewed-by: Peter Maydell --- scripts/checkpatch.pl | 2 +- scripts/clean-header-guards.pl | 2 +- scripts/decodetree.py | 6 +++--- scripts/oss-fuzz/build.sh | 2 +- scripts/tracetool/__init__.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index bd3faa1..5091089 100644 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1870,7 +1870,7 @@ sub process { substr($s, 0, length($c), ''); =20 # Make sure we remove the line prefixes as we have - # none on the first line, and are going to readd them + # none on the first line, and are going to re-add them # where necessary. $s =3D~ s/\n./\n/gs; =20 diff --git a/scripts/clean-header-guards.pl b/scripts/clean-header-guards.pl index f47d673..a668025 100644 --- a/scripts/clean-header-guards.pl +++ b/scripts/clean-header-guards.pl @@ -19,7 +19,7 @@ # Does the following: # - Header files without a recognizable header guard are skipped. # - Clean up any untidy header guards in-place. Warn if the cleanup -# renames guard symbols, and explain how to find occurences of these +# renames guard symbols, and explain how to find occurrences of these # symbols that may have to be updated manually. # - Warn about duplicate header guard symbols. To make full use of # this warning, you should clean up *all* headers in one run. diff --git a/scripts/decodetree.py b/scripts/decodetree.py index 694757b..b136977 100644 --- a/scripts/decodetree.py +++ b/scripts/decodetree.py @@ -88,7 +88,7 @@ def str_indent(c): =20 =20 def str_fields(fields): - """Return a string uniquely identifing FIELDS""" + """Return a string uniquely identifying FIELDS""" r =3D '' for n in sorted(fields.keys()): r +=3D '_' + n @@ -806,7 +806,7 @@ def parse_generic(lineno, parent_pat, name, toks): arg =3D None fmt =3D None for t in toks: - # '&Foo' gives a format an explcit argument set. + # '&Foo' gives a format an explicit argument set. if t[0] =3D=3D '&': tt =3D t[1:] if arg: @@ -895,7 +895,7 @@ def parse_generic(lineno, parent_pat, name, toks): elif not (is_format and width =3D=3D 0) and width !=3D insnwidth: error(lineno, 'definition has {0} bits'.format(width)) =20 - # Do not check for fields overlaping fields; one valid usage + # Do not check for fields overlapping fields; one valid usage # is to be able to duplicate fields via import. fieldmask =3D 0 for f in flds.values(): diff --git a/scripts/oss-fuzz/build.sh b/scripts/oss-fuzz/build.sh index a07b302..7587766 100644 --- a/scripts/oss-fuzz/build.sh +++ b/scripts/oss-fuzz/build.sh @@ -73,7 +73,7 @@ mkdir -p "$DEST_DIR/lib/" # Copy the shared libraries he= re if ! make CONFIG_FUZZ=3Dy CFLAGS=3D"$LIB_FUZZING_ENGINE" "-j$(nproc)" \ i386-softmmu/fuzz; then fatal "Build failed. Please specify a compiler with fuzzing support"\ - "using the \$CC and \$CXX environemnt variables, or specify a"\ + "using the \$CC and \$CXX environment variables, or specify a"\ "\$LIB_FUZZING_ENGINE compatible with your compiler"\ "\nFor example: CC=3Dclang CXX=3Dclang++ $0" fi diff --git a/scripts/tracetool/__init__.py b/scripts/tracetool/__init__.py index 3ccfa1e..3ee54be 100644 --- a/scripts/tracetool/__init__.py +++ b/scripts/tracetool/__init__.py @@ -34,7 +34,7 @@ def error(*lines): def out(*lines, **kwargs): """Write a set of output lines. =20 - You can use kwargs as a shorthand for mapping variables when formating= all + You can use kwargs as a shorthand for mapping variables when formattin= g all the strings in lines. """ lines =3D [ l % kwargs for l in lines ] --=20 2.26.2.windows.1