Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5456669imw; Wed, 20 Jul 2022 06:12:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tiUEd2R4btjpRWBZ1PGjuhPQwsIsA8XcCpyqGBBRlKzgQfSv8wqQerTg+6jIIRoJ+ZrHVq X-Received: by 2002:a02:c984:0:b0:33f:3c79:8918 with SMTP id b4-20020a02c984000000b0033f3c798918mr20858772jap.270.1658322774821; Wed, 20 Jul 2022 06:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658322774; cv=none; d=google.com; s=arc-20160816; b=Gm9vqeWvIuBqNa/nAn0ST9uduxEhJyDyJ/2ylg6Bk+vEEg51vIDtRiEkqHguucWvfW Pjc0Sh03xNDGZvDpZGV/Es8CpqF2Oso9BmHH4Uvir4uiZBziSZIU+L24H/Nu7o3XqrO7 Q3fNt1NyoZtl+GUOlwIMvcVhtYxtZHoVBF66D021NQ5y0oAvadTQG+L5ZLsfdKaV0Saj 0+SOVcs8PX+8AEw1qZFh68vOKp1Zirga2wX2tYNmkxRAMOA3WpfiH/Ooxevu/puVkKPZ TxbPLmHoFPOJSSJYvBkdqIB+HYGY4BYybV49fUFfIAlNzzfGRdvlfuTirT5Jt9BujVZa RUQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yaz0QMZ0VzAVvaye8vM78CKCLfEhfSUFfaVNdAd2jMo=; b=gk3mDArqT1PcyLDcN9F7HLpSqyibuDxPjIHUz9CpKmnuCP6MtR7b1fMd3Gm0vxjjoq 0Tsuy+hE4MdF8bD9tbL2M97Hh5SEGC7FhHuNsXGSb/5OAtlPHmi4gEzYy+TH0WPT4I+r pnlaSSDZh6ludyXQH5js6lCjO0me/xxdnF6UT7i7Vk3+CD+yp2Juj/5BzLl9if93pHda CEFsHJD4VTYUqAYRrAj/BxWVGXshVijnhtcnPHe2u0LGr2Vye8WZlwQPt4kY59wM3VOi V2LSRMtYWQe9GLaQ7m0lXSIG/EY+oHAZ29OWcz1bXP+2oGmp5lK6nyrm7pV8wXsQyN5G zTTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=GqsW7SqZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j17-20020a6bf911000000b00678ec535ce4si16715327iog.13.2022.07.20.06.12.40; Wed, 20 Jul 2022 06:12:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=GqsW7SqZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230258AbiGTMRo (ORCPT + 99 others); Wed, 20 Jul 2022 08:17:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229686AbiGTMRm (ORCPT ); Wed, 20 Jul 2022 08:17:42 -0400 Received: from mail-m973.mail.163.com (mail-m973.mail.163.com [123.126.97.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7B2F9A1BB; Wed, 20 Jul 2022 05:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=yaz0Q MZ0VzAVvaye8vM78CKCLfEhfSUFfaVNdAd2jMo=; b=GqsW7SqZJi3BjYVJZAbYN c3ruvUlnV3GLa+0GThT8B2ilebU82K5ND2Ougto0ZuR60eiNO3SMs4sw9eE1jeo9 86qUXdN70CR4XBD31lK7ZF7W0LSoUm8/UUL5usD/9ZvrvksYPXp30AfELQ9PCTI3 p3Fq4npulitaWdx1+E2scw= Received: from localhost.localdomain (unknown [123.58.221.99]) by smtp3 (Coremail) with SMTP id G9xpCgDnlW8v8tdi0gf9QA--.447S2; Wed, 20 Jul 2022 20:16:48 +0800 (CST) From: williamsukatube@163.com To: colyli@suse.de, kent.overstreet@gmail.com, linux-bcache@vger.kernel.org, linux-kernel@vger.kernel.org Cc: William Dean , Hacash Robot Subject: [PATCH -next] bcache: Fix spelling mistakes Date: Wed, 20 Jul 2022 20:16:45 +0800 Message-Id: <20220720121645.2834133-1-williamsukatube@163.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: G9xpCgDnlW8v8tdi0gf9QA--.447S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxGr1DuFWkJw43Cw4fCFyxAFb_yoWruw4rpF W7X34fAw1vq3y7Ar98Aa4UuFyrJa45tFW7Kas7uas5ZFy7ZF1rAFyUKayDtw1kWryfJFW2 qr45tw1DWF1rKaUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07b1GYLUUUUU= X-Originating-IP: [123.58.221.99] X-CM-SenderInfo: xzlozx5dpv3yxdwxuvi6rwjhhfrp/xtbBexFEg2AZAX4gQAAAsL X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: William Dean Fix follow spelling misktakes: automatical ==> automatic arount ==> around individial ==> around embeddded ==> embedded addionally ==> additionally unncessary ==> unnecessary definitly ==> definitely Reported-by: Hacash Robot Signed-off-by: William Dean --- drivers/md/bcache/bcache.h | 2 +- drivers/md/bcache/bset.h | 2 +- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/btree.h | 2 +- drivers/md/bcache/stats.c | 2 +- drivers/md/bcache/writeback.c | 2 +- drivers/md/bcache/writeback.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h index 2acda9cea0f9..2b35c0a14d4d 100644 --- a/drivers/md/bcache/bcache.h +++ b/drivers/md/bcache/bcache.h @@ -635,7 +635,7 @@ struct cache_set { struct bkey gc_done; /* - * For automatical garbage collection after writeback completed, this + * For automatic garbage collection after writeback completed, this * varialbe is used as bit fields, * - 0000 0001b (BCH_ENABLE_AUTO_GC): enable gc after writeback * - 0000 0010b (BCH_DO_AUTO_GC): do gc after writeback diff --git a/drivers/md/bcache/bset.h b/drivers/md/bcache/bset.h index d795c84246b0..76f75bbcb731 100644 --- a/drivers/md/bcache/bset.h +++ b/drivers/md/bcache/bset.h @@ -45,7 +45,7 @@ * 4 in memory - we lazily resort as needed. * * We implement code here for creating and maintaining auxiliary search trees - * (described below) for searching an individial bset, and on top of that we + * (described below) for searching an individual bset, and on top of that we * implement a btree iterator. * * BTREE ITERATOR: diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c index e136d6edc1ed..a26863eedc6f 100644 --- a/drivers/md/bcache/btree.c +++ b/drivers/md/bcache/btree.c @@ -154,7 +154,7 @@ void bch_btree_node_read_done(struct btree *b) /* * c->fill_iter can allocate an iterator with more memory space * than static MAX_BSETS. - * See the comment arount cache_set->fill_iter. + * See the comment around cache_set->fill_iter. */ iter = mempool_alloc(&b->c->fill_iter, GFP_NOIO); iter->size = b->c->cache->sb.bucket_size / b->c->cache->sb.block_size; diff --git a/drivers/md/bcache/btree.h b/drivers/md/bcache/btree.h index 1b5fdbc0d83e..b46bf6268aca 100644 --- a/drivers/md/bcache/btree.h +++ b/drivers/md/bcache/btree.h @@ -54,7 +54,7 @@ * Btree nodes never have to be explicitly read in; bch_btree_node_get() handles * this. * - * For writing, we have two btree_write structs embeddded in struct btree - one + * For writing, we have two btree_write structs embedded in struct btree - one * write in flight, and one being set up, and we toggle between them. * * Writing is done with a single function - bch_btree_write() really serves two diff --git a/drivers/md/bcache/stats.c b/drivers/md/bcache/stats.c index 68b02216033d..dcd87eb6f85e 100644 --- a/drivers/md/bcache/stats.c +++ b/drivers/md/bcache/stats.c @@ -11,7 +11,7 @@ #include "sysfs.h" /* - * We keep absolute totals of various statistics, and addionally a set of three + * We keep absolute totals of various statistics, and additionally a set of three * rolling averages. * * Every so often, a timer goes off and rescales the rolling averages. diff --git a/drivers/md/bcache/writeback.c b/drivers/md/bcache/writeback.c index 3f0ff3aab6f2..bd83a33b8a2f 100644 --- a/drivers/md/bcache/writeback.c +++ b/drivers/md/bcache/writeback.c @@ -238,7 +238,7 @@ static void update_writeback_rate(struct work_struct *work) /* * If the whole cache set is idle, set_at_max_writeback_rate() * will set writeback rate to a max number. Then it is - * unncessary to update writeback rate for an idle cache set + * unnecessary to update writeback rate for an idle cache set * in maximum writeback rate number(s). */ if (atomic_read(&dc->has_dirty) && dc->writeback_percent && diff --git a/drivers/md/bcache/writeback.h b/drivers/md/bcache/writeback.h index 31df716951f6..37f66bea522f 100644 --- a/drivers/md/bcache/writeback.h +++ b/drivers/md/bcache/writeback.h @@ -69,7 +69,7 @@ static inline int offset_to_stripe(struct bcache_device *d, } /* - * Here offset is definitly smaller than INT_MAX, + * Here offset is definitely smaller than INT_MAX, * return it as int will never overflow. */ return offset; -- 2.25.1