From nobody Mon Feb 9 13:03:28 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=1600315144; cv=none; d=zohomail.com; s=zohoarc; b=GrJXRVZ277Stw/exOxOLn6QLUBmo2qxcmrBIuzLiCWBj/WHXuXj1Z6FdLFKAqFsgZqb282UQY83vulcROAc4kIEENSabwMAnAUgsxrhjyjSbCyRFuxgy9AYMCd4RaHSdl2sF2DBUtujUDukexZgrom8UBQ3sQAimvfpHEN44GBk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600315144; 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=TY3fH7/eMy6MshtamDfIhxKNNXRPRCngL2XI67TfYe0=; b=i9fnui1zznZyRKhXPjRlFlNPyegX4a0a8ZwuYoes7aqEJyAhvoodp9A2O9bDDveRMAJLdV1YrEkJ7PmeZoHilfV0AISI+WhBrlcQ9a9VOU6JQEpj7YB/PrhVVl4GEKnCaag9pII5qZdfkXgd/lGr+K2R+V0aMRGcTaUBq3BK114= 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 1600315144361515.937013037914; Wed, 16 Sep 2020 20:59:04 -0700 (PDT) Received: from localhost ([::1]:46512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIl4Z-00089o-5i for importer@patchew.org; Wed, 16 Sep 2020 23:59:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIl2B-0004HY-OD; Wed, 16 Sep 2020 23:56:35 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:4705 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 1kIl28-0000KQ-2m; Wed, 16 Sep 2020 23:56:34 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id D198F1713321561B6C18; Thu, 17 Sep 2020 11:56:21 +0800 (CST) Received: from localhost (10.174.187.87) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Thu, 17 Sep 2020 11:56:15 +0800 From: zhaolichang To: Subject: [PATCH V2 07/10] block/: fix some comment spelling errors Date: Thu, 17 Sep 2020 11:54:10 +0800 Message-ID: <20200917035413.701-8-zhaolichang@huawei.com> X-Mailer: git-send-email 2.26.2.windows.1 In-Reply-To: <20200917035413.701-1-zhaolichang@huawei.com> References: <20200917035413.701-1-zhaolichang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.174.187.87] 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/09/16 23:20:53 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.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 block folder. Signed-off-by: zhaolichang --- block/block-copy.c | 2 +- block/linux-aio.c | 2 +- block/mirror.c | 2 +- block/vhdx.c | 2 +- block/vhdx.h | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/block/block-copy.c b/block/block-copy.c index cd9bc47c8f..5eb8912e0a 100644 --- a/block/block-copy.c +++ b/block/block-copy.c @@ -321,7 +321,7 @@ static coroutine_fn int block_copy_task_run(AioTaskPool= *pool, * Do copy of cluster-aligned chunk. Requested region is allowed to exceed * s->len only to cover last cluster when s->len is not aligned to cluster= s. * - * No sync here: nor bitmap neighter intersecting requests handling, only = copy. + * No sync here: neither bitmap nor intersecting requests handling, only c= opy. * * Returns 0 on success. */ diff --git a/block/linux-aio.c b/block/linux-aio.c index 3c0527c2bf..772ff860ea 100644 --- a/block/linux-aio.c +++ b/block/linux-aio.c @@ -222,7 +222,7 @@ static void qemu_laio_process_completions(LinuxAioState= *s) =20 /* If we are nested we have to notify the level above that we are done * by setting event_max to zero, upper level will then jump out of it's - * own `for` loop. If we are the last all counters droped to zero. */ + * own `for` loop. If we are the last all counters dropped to zero. */ s->event_max =3D 0; s->event_idx =3D 0; } diff --git a/block/mirror.c b/block/mirror.c index 26acf4af6f..c798a1e54e 100644 --- a/block/mirror.c +++ b/block/mirror.c @@ -479,7 +479,7 @@ static uint64_t coroutine_fn mirror_iteration(MirrorBlo= ckJob *s) =20 job_pause_point(&s->common.job); =20 - /* Find the number of consective dirty chunks following the first dirty + /* Find the number of consecutive dirty chunks following the first dir= ty * one, and wait for in flight requests in them. */ bdrv_dirty_bitmap_lock(s->dirty_bitmap); while (nb_chunks * s->granularity < s->buf_size) { diff --git a/block/vhdx.c b/block/vhdx.c index 356ec4c455..99cc3d12bb 100644 --- a/block/vhdx.c +++ b/block/vhdx.c @@ -1073,7 +1073,7 @@ static int vhdx_open(BlockDriverState *bs, QDict *opt= ions, int flags, goto fail; } =20 - /* endian convert populated BAT field entires */ + /* endian convert populated BAT field entries */ for (i =3D 0; i < s->bat_entries; i++) { s->bat[i] =3D le64_to_cpu(s->bat[i]); } diff --git a/block/vhdx.h b/block/vhdx.h index 0b74924cee..e385e484b4 100644 --- a/block/vhdx.h +++ b/block/vhdx.h @@ -212,7 +212,7 @@ typedef struct QEMU_PACKED VHDXLogDataSector { uint32_t sequence_high; /* 4 MSB of 8 byte sequence_number= */ uint8_t data[4084]; /* raw data, bytes 8-4091 (inclusi= ve). see the data descriptor field f= or the - other mising bytes */ + other missing bytes */ uint32_t sequence_low; /* 4 LSB of 8 byte sequence_number= */ } VHDXLogDataSector; =20 @@ -257,7 +257,7 @@ typedef struct QEMU_PACKED VHDXMetadataTableHeader { =20 #define VHDX_META_FLAGS_IS_USER 0x01 /* max 1024 entries */ #define VHDX_META_FLAGS_IS_VIRTUAL_DISK 0x02 /* virtual disk metadata i= f set, - otherwise file metdata = */ + otherwise file metadata= */ #define VHDX_META_FLAGS_IS_REQUIRED 0x04 /* parse must understand t= his entry to open the file = */ typedef struct QEMU_PACKED VHDXMetadataTableEntry { --=20 2.26.2.windows.1