From patchwork Thu Oct 28 18:41:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 12590877 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81FC7C433EF for ; Thu, 28 Oct 2021 18:42:03 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2B79160FC0 for ; Thu, 28 Oct 2021 18:42:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2B79160FC0 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 8A7C76B0072; Thu, 28 Oct 2021 14:42:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 82F916B0073; Thu, 28 Oct 2021 14:42:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6D119940007; Thu, 28 Oct 2021 14:42:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0097.hostedemail.com [216.40.44.97]) by kanga.kvack.org (Postfix) with ESMTP id 40A8C6B0072 for ; Thu, 28 Oct 2021 14:42:02 -0400 (EDT) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id C93428249980 for ; Thu, 28 Oct 2021 18:42:01 +0000 (UTC) X-FDA: 78746715642.03.B98407E Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by imf21.hostedemail.com (Postfix) with ESMTP id 1CBB0D036A5B for ; Thu, 28 Oct 2021 18:41:57 +0000 (UTC) Received: by mail-wm1-f49.google.com with SMTP id j35-20020a05600c1c2300b0032caeca81b7so5187895wms.0 for ; Thu, 28 Oct 2021 11:42:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=M5ctcYr+hiRkqGH5aJ/1429sRX/gX5KpK78UC99anpA=; b=GsaYcu//7WfLsSO0p3vsuakFnTdmPrmuJn7bwpARosaOL3uQdAyzMLJqzVBNy+EY9a B0RKADY9y4IJ8t6TfTpYP52ToIu9dOw+GN2NQG4Jc1Qn6Vn4geS7I5HE7DYiSXlgjP2N Zd/sERL7enGQ4uuJFWJfgCUcGR8NYZe6hfk+Gfe7j7dzV/7852DpfP7FnAyO5cb9A5F+ A/A8FrM6yBwdjWX6PJHDLx5Fswwm7chfwIK+Fn9cxQy5Hx9xe3Sz9O1DdQ00kh7DKB0f XtH6O3NUhRhiIDofjhVxfWGmNF0xJ32uA0Sj8/yKyHjTwRv4cJKA1h9yGrqk0K6GQpLq BEtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=M5ctcYr+hiRkqGH5aJ/1429sRX/gX5KpK78UC99anpA=; b=iE744+Z26EsdEXNKlQm3+Umry2LoMxwXm95seIDbLxXfQiDscCAnigcZMw5eOM+A5Z VYEyIW4XOFVnBM1yIbW1luA+CymP1bxOK04yzcDfmL2NxPXAtQNHg9t6bBnfTr+lD779 R/vEBFaHW4U3XHy+f1q+xVFzrC7bEPmoJlkvSuEDxHQaIlNTWvLAdt9wICDm640ixi4Q tZmn6KUr1MHCqYUuWSRfCS2gPIPwVhC97oxs4k+rm29T7Nj7u+/zJ0D5GYrj44OMYXfE hiJS+RTDjFYGa3xgIh8YS19xTltgvKb/+Fu7pSBWShTI+NtBfGQc5818AV0LbZQXzvuv naDg== X-Gm-Message-State: AOAM533aLPixP0X32ker/iTwOU4K5/tvcJiTlDgFQVoxx+j96WZaGCMX OMX5BB02j+oaEg== X-Google-Smtp-Source: ABdhPJwesjygk2ycSujhbxXF4bdnFA+xOA89kyY+JuiKUM66Mn2+iR5BRpTnhRXx7H14VvOoO8KWYA== X-Received: by 2002:a7b:cd03:: with SMTP id f3mr6442432wmj.89.1635446520121; Thu, 28 Oct 2021 11:42:00 -0700 (PDT) Received: from localhost (cpc154979-craw9-2-0-cust193.16-3.cable.virginm.net. [80.193.200.194]) by smtp.gmail.com with ESMTPSA id s13sm7102120wmc.47.2021.10.28.11.41.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 11:41:59 -0700 (PDT) From: Colin Ian King X-Google-Original-From: Colin Ian King To: SeongJae Park , Andrew Morton , linux-mm@kvack.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH][next] mm/damon: Fix a few spelling mistakes in comments and a pr_debug message Date: Thu, 28 Oct 2021 19:41:57 +0100 Message-Id: <20211028184157.614544-1-colin.i.king@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 1CBB0D036A5B X-Stat-Signature: bte36kj7kmg1su88q7nyo4femj9s3rub Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=googlemail.com header.s=20210112 header.b="GsaYcu//"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf21.hostedemail.com: domain of colin.i.king@googlemail.com designates 209.85.128.49 as permitted sender) smtp.mailfrom=colin.i.king@googlemail.com X-HE-Tag: 1635446517-680421 X-Bogosity: Ham, tests=bogofilter, spamicity=0.152999, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: There are a few spelling mistakes in the code. Fix these. Signed-off-by: Colin Ian King Reviewed-by: SeongJae Park --- mm/damon/core.c | 2 +- mm/damon/dbgfs-test.h | 2 +- mm/damon/vaddr-test.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/damon/core.c b/mm/damon/core.c index f37c17b53814..c381b3c525d0 100644 --- a/mm/damon/core.c +++ b/mm/damon/core.c @@ -959,7 +959,7 @@ static unsigned long damos_wmark_wait_us(struct damos *scheme) /* higher than high watermark or lower than low watermark */ if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) { if (scheme->wmarks.activated) - pr_debug("inactivate a scheme (%d) for %s wmark\n", + pr_debug("deactivate a scheme (%d) for %s wmark\n", scheme->action, metric > scheme->wmarks.high ? "high" : "low"); diff --git a/mm/damon/dbgfs-test.h b/mm/damon/dbgfs-test.h index 104b22957616..86b9f9528231 100644 --- a/mm/damon/dbgfs-test.h +++ b/mm/damon/dbgfs-test.h @@ -145,7 +145,7 @@ static void damon_dbgfs_test_set_init_regions(struct kunit *test) KUNIT_EXPECT_STREQ(test, (char *)buf, expect); } - /* Put invlid inputs and check the return error code */ + /* Put invalid inputs and check the return error code */ for (i = 0; i < ARRAY_SIZE(invalid_inputs); i++) { input = invalid_inputs[i]; pr_info("input: %s\n", input); diff --git a/mm/damon/vaddr-test.h b/mm/damon/vaddr-test.h index 1f5c13257dba..ecfd0b2ed222 100644 --- a/mm/damon/vaddr-test.h +++ b/mm/damon/vaddr-test.h @@ -233,7 +233,7 @@ static void damon_test_apply_three_regions3(struct kunit *test) * and 70-100) has totally freed and mapped to different area (30-32 and * 65-68). The target regions which were in the old second and third big * regions should now be removed and new target regions covering the new second - * and third big regions should be crated. + * and third big regions should be created. */ static void damon_test_apply_three_regions4(struct kunit *test) {