Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp215515pxf; Thu, 8 Apr 2021 01:05:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6XJRQb5ygVAErJ3FYAyGIhCRUwTNBLPxfdJZrqR4lw5a/MEmDuhmmtMS4aAZy3a9SrxSG X-Received: by 2002:a17:907:2bd9:: with SMTP id gv25mr8815614ejc.225.1617869114925; Thu, 08 Apr 2021 01:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617869114; cv=none; d=google.com; s=arc-20160816; b=KSERH0f+LPvy5hDD8bePQ9yNJ/OHZzvQIFfKoHZ1gx3U1aprHA3YbQflkATAfBBdzu mmUdPrNs8W8tdIlSg4ZMI+I12n8wc7jO+dD+hJv5qZ3Wkg3MUxWJujAH++TJrEYWmC8J 8bXTO1SJJkfJ+FofCNLW5TOmu2vG4jG6SPERebfYiPokl9+td1D/lAqp0BO/JGmcRWqO fslbswqKHrlFlJsvTrrASezBS1lQDDHBcNMBbE7Zbb8C9zXyOjjHiK1yRNuKzgu4F9J0 sg0ZfsIyjtDYCr6M7r5Amqv4xGyIPkHWjihV0Z3rKon9rfBJOaj/nSQkDHuDFVShdURw L11w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=o23U7EqeI2uA3T2Bt5gRzJDXM+PXFhVmwPFUYYcG210=; b=C/XawY/WgmMKZI9+d1VRoXLa1E3Il+WKfdFLdDmzOIjSIi0fFv9Q/m0P24PR77B2uO p8JcSwmnYRvIalogAA1ANrcNUS4fSlrpWNOgvYhXopNDbe4NLAud2BrQaXunINa1jnFY EWDxN6v9GodB9Pm2N4qGJk+ksbrGo+svPlJjCzOMqqtyoRDgP3flVpAUZ1V2y10VrcgP Yb4ZPgslAMjIEePWwZT8Oax9SpfMacx9tjCulyaKs+71elIqpvhu5WamwnW0wzk8ixv8 9JRcDS+Eg7v3Q4s4uaN3MEksP8STBowJptnO6WgNpFWZRO5fv7KtFEACdn6BVXlLXeWc AHsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si21444747ejm.310.2021.04.08.01.04.51; Thu, 08 Apr 2021 01:05:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229602AbhDHIEI (ORCPT + 99 others); Thu, 8 Apr 2021 04:04:08 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:15967 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229600AbhDHIEE (ORCPT ); Thu, 8 Apr 2021 04:04:04 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FGDHR1mXZzyNhH; Thu, 8 Apr 2021 16:01:39 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.175) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.498.0; Thu, 8 Apr 2021 16:03:43 +0800 From: Lu Jialin To: Zefan Li , Tejun Heo , "Johannes Weiner" CC: Lu Jialin , Wang Weiyang , , Subject: [PATCH -next] cgroup/cpuset: fix typos in comments Date: Thu, 8 Apr 2021 16:03:46 +0800 Message-ID: <20210408080346.166046-1-lujialin4@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.174.175] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change hierachy to hierarchy and unrechable to unreachable, no functionality changed. Signed-off-by: Lu Jialin --- kernel/cgroup/cpuset.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index 5258b68153e0..a945504c0ae7 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -585,7 +585,7 @@ static int validate_change(struct cpuset *cur, struct cpuset *trial) par = parent_cs(cur); - /* On legacy hiearchy, we must be a subset of our parent cpuset. */ + /* On legacy hierarchy, we must be a subset of our parent cpuset. */ ret = -EACCES; if (!is_in_v2_mode() && !is_cpuset_subset(trial, par)) goto out; @@ -1726,7 +1726,7 @@ static void update_tasks_nodemask(struct cpuset *cs) * When configured nodemask is changed, the effective nodemasks of this cpuset * and all its descendants need to be updated. * - * On legacy hiearchy, effective_mems will be the same with mems_allowed. + * On legacy hierarchy, effective_mems will be the same with mems_allowed. * * Called with cpuset_mutex held */ @@ -2500,7 +2500,7 @@ static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) BUG(); } - /* Unrechable but makes gcc happy */ + /* Unreachable but makes gcc happy */ return 0; } -- 2.17.1