From patchwork Thu Nov 25 09:06:35 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: 12638753 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6060AC433F5 for ; Thu, 25 Nov 2021 09:07:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BA1156B0074; Thu, 25 Nov 2021 04:06:49 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B51336B0075; Thu, 25 Nov 2021 04:06:49 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A19116B007B; Thu, 25 Nov 2021 04:06:49 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0145.hostedemail.com [216.40.44.145]) by kanga.kvack.org (Postfix) with ESMTP id 8FF3F6B0074 for ; Thu, 25 Nov 2021 04:06:49 -0500 (EST) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id BE0C6788BC for ; Thu, 25 Nov 2021 09:06:38 +0000 (UTC) X-FDA: 78846872160.10.4320C7E Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by imf05.hostedemail.com (Postfix) with ESMTP id B28C6508BB96 for ; Thu, 25 Nov 2021 09:06:31 +0000 (UTC) Received: by mail-wr1-f51.google.com with SMTP id u18so10050057wrg.5 for ; Thu, 25 Nov 2021 01:06:38 -0800 (PST) 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=jNNIPip2h8ygz6aWA8IjTUMOry53VnVtZZgUn1liZPY=; b=pZlZ6TWgERRy02Vfa1iyfy41bVGcH8ZbLdkbRL1NTiwSz2XNURB3N/0aMae8pxllAv 6aVQly78QWPlr8rEtpNNd3EVX7G86WzrQJdcYnI3bQ+kmbiFN8JdAUCP8tKESWzwntIP hdSWKxV5O7VbYQ8f65Qa20PYxipSLpQ3kaBFkZ24TgU89/0wizUz8lXPT6XN8WQz37vd ZR8Of6w6Y/JSUD8eg8Mu1pE94V5J7+Howf7/iUZsjUrCIOsWDKCKkDUbkUKyDFEji3A5 ITD/ZVCftMMCUoP3qNAPXvOy0RFleTiuf6Fc3crfjqi8XQdNdTHLVPNfPt0a03rks6ID QLpw== 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=jNNIPip2h8ygz6aWA8IjTUMOry53VnVtZZgUn1liZPY=; b=BxGIjJEBhed8CIv7H0Pk3iMkyPVrorN79JFHUMuT2hTM4z+pUYgsQPOJvRLPfxkAVk +Ml+lMBTEzmk8sEstiUUl9DuCrhbAyeBO6sC2Nh4qhIzMNh/74cBejcnFtx0KSszZCK0 50a2FNYhTBuVfMm8oR5CvGZJ6mnAfOi+OURsS7tnLew/EY1IahunHhnc/jpTrW8Kmlo/ EH3G2RPaU5ujFc8tABW9w2idemaB5NkXwVAnsYCuMgi2wua10ViMONngwsRKp4Q3RswN M43b1510cgXCBvfd4FvjmRGsJgsg3fD8JJmpnRSjxhbj8YF8CLSHYTPx7H4cAevsTj3c 2QqQ== X-Gm-Message-State: AOAM530NKmSLduEmX/XKXyYcPbvFTzOb+Lv2tJug9i8p4B/MPFjrPNEG VzTJJSp7F3CloQ== X-Google-Smtp-Source: ABdhPJz1Pq+uzntfyxuuBXLiuoJ9QTDopTRleeCuk2GruWk9dswY8VyWPNPKg5v2C03WkpPlOpnsIg== X-Received: by 2002:a5d:6e82:: with SMTP id k2mr4559901wrz.147.1637831197042; Thu, 25 Nov 2021 01:06:37 -0800 (PST) Received: from localhost (cpc154979-craw9-2-0-cust193.16-3.cable.virginm.net. [80.193.200.194]) by smtp.gmail.com with ESMTPSA id o4sm2728594wry.80.2021.11.25.01.06.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 01:06:36 -0800 (PST) From: Colin Ian King X-Google-Original-From: Colin Ian King To: Andrew Morton , linux-mm@kvack.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH][next] hugetlb: Fix spelling mistake "hierarichal" -> "hierarchical" Date: Thu, 25 Nov 2021 09:06:35 +0000 Message-Id: <20211125090635.23508-1-colin.i.king@gmail.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: B28C6508BB96 Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=googlemail.com header.s=20210112 header.b=pZlZ6TWg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf05.hostedemail.com: domain of colin.i.king@googlemail.com designates 209.85.221.51 as permitted sender) smtp.mailfrom=colin.i.king@googlemail.com X-Stat-Signature: y3tf7mz4w3ab3ypwmwcbzb44h8t5fqzg X-HE-Tag: 1637831191-68419 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000048, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: There is a spelling mistake in a literal string and a comment. Fix them. Signed-off-by: Colin Ian King Reviewed-by: Muchun Song --- mm/hugetlb_cgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/hugetlb_cgroup.c b/mm/hugetlb_cgroup.c index 9bdcf6560849..9eebe8df3c39 100644 --- a/mm/hugetlb_cgroup.c +++ b/mm/hugetlb_cgroup.c @@ -495,11 +495,11 @@ static int hugetlb_cgroup_read_numa_stat(struct seq_file *seq, void *dummy) * The hierarchical total is pretty much the value recorded by the * counter, so use that. */ - seq_printf(seq, "%stotal=%lu", legacy ? "hierarichal_" : "", + seq_printf(seq, "%stotal=%lu", legacy ? "hierarchical_" : "", page_counter_read(&h_cg->hugepage[idx]) * PAGE_SIZE); /* - * For each node, transverse the css tree to obtain the hierarichal + * For each node, transverse the css tree to obtain the hierarchical * node usage. */ for_each_node_state(nid, N_MEMORY) {