Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp576214pxb; Tue, 15 Feb 2022 22:37:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmnDc/bPT6MWK4oyGrY4Rit4J/N0S7EqcDZc+jnwU5FoQMx8Wcod03vvyr6dCMU9geaEnP X-Received: by 2002:aa7:9f5b:0:b0:4cc:964c:99dd with SMTP id h27-20020aa79f5b000000b004cc964c99ddmr1529236pfr.42.1644993422772; Tue, 15 Feb 2022 22:37:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644993422; cv=none; d=google.com; s=arc-20160816; b=LO554kMiid1WbuZ6rpaNA07Pnn5XPcRYU77VT4mxa61yQ79NBkxI/NZtax/cP3U0Vr 6pckQEZLs/gaFyRIuKPRBX1pZxpBykqbaR1Pl5CRHw9YSyAsFKXlb0QU3QF7wxTTzXw4 eOAgdayFrxnpAUzPfB5HuoBPt2XUXRMLjYbrZAhKqvDjMGa1NJXS/+RmnXN/fi5PWSkV St2TcbWM2A7Ibg5Djf/6fLW7NfH9E7TOSJX0HFoRO14jskr1PnXOTXolXhGtBwg4ETHC 175z7RtVBDLXgI6r7CMONYkj9tRhzYpSwCNFnej0LQLlXaSHlkCK5YZW0wRHc8W4QqDm oh3w== 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; bh=5+4h4E0MMhzyzyagKn4wPOsijLLPTeFUJT0SbeClj74=; b=TirPSNeuCtcg1EzjCnnehpnWgYRNGUE7EhktGdJIXJDzwbCVz0cluuORdSLypexqUL FQHI1p61A9IyVE0gMrro8Jxz7BU666wLeJOGl1ZhL2jYFEeKG4VVVvI8QsqpDKo8y+Fq CD3ELTCuWfwSHakOnGx4kGECPTMUQJseW3teqL0chishqNQloFsJm7uneOL0vImfpi+n cecjMLjFICATIj5Os7i5ImQMleWDwMb9Faa3R7mZ3U1wpCb4hrfxq30GF657GUoAJsMc ZH4qvr/3MElKLI8FWMgruOxhiojvQD7XHFPr732Sl/KtzhVrVmFi4S0wESCVjYen0Qib GuTA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bc6si2788362plb.595.2022.02.15.22.37.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 22:37:02 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1FD1E2C644; Tue, 15 Feb 2022 22:27:29 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344207AbiBPDSU (ORCPT + 99 others); Tue, 15 Feb 2022 22:18:20 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:38736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344188AbiBPDSR (ORCPT ); Tue, 15 Feb 2022 22:18:17 -0500 Received: from out30-45.freemail.mail.aliyun.com (out30-45.freemail.mail.aliyun.com [115.124.30.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12212FEB0C; Tue, 15 Feb 2022 19:18:01 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0V4bNgsw_1644981474; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0V4bNgsw_1644981474) by smtp.aliyun-inc.com(127.0.0.1); Wed, 16 Feb 2022 11:17:59 +0800 From: Jiapeng Chong To: lizefan.x@bytedance.com Cc: tj@kernel.org, hannes@cmpxchg.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] cpuset: Fix kernel-doc Date: Wed, 16 Feb 2022 11:17:53 +0800 Message-Id: <20220216031753.8298-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no 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 Fix the following W=1 kernel warnings: kernel/cgroup/cpuset.c:3718: warning: expecting prototype for cpuset_memory_pressure_bump(). Prototype was for __cpuset_memory_pressure_bump() instead. kernel/cgroup/cpuset.c:3568: warning: expecting prototype for cpuset_node_allowed(). Prototype was for __cpuset_node_allowed() instead. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- kernel/cgroup/cpuset.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index 97c53f3cc917..5de18448016c 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -3524,8 +3524,8 @@ static struct cpuset *nearest_hardwall_ancestor(struct cpuset *cs) return cs; } -/** - * cpuset_node_allowed - Can we allocate on a memory node? +/* + * __cpuset_node_allowed - Can we allocate on a memory node? * @node: is this an allowed node? * @gfp_mask: memory allocation flags * @@ -3696,8 +3696,8 @@ void cpuset_print_current_mems_allowed(void) int cpuset_memory_pressure_enabled __read_mostly; -/** - * cpuset_memory_pressure_bump - keep stats of per-cpuset reclaims. +/* + * __cpuset_memory_pressure_bump - keep stats of per-cpuset reclaims. * * Keep a running average of the rate of synchronous (direct) * page reclaim efforts initiated by tasks in each cpuset. @@ -3712,7 +3712,7 @@ int cpuset_memory_pressure_enabled __read_mostly; * "memory_pressure". Value displayed is an integer * representing the recent rate of entry into the synchronous * (direct) page reclaim by any task attached to the cpuset. - **/ + */ void __cpuset_memory_pressure_bump(void) { -- 2.20.1.7.g153144c