Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1935921rwo; Thu, 3 Aug 2023 02:03:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlEOXmOnxkBIcMzATyHJMIi7YO0tbpQBht0uzZH180fsjgZPkGUL8vdPznNdNA2QUCTcAcYZ X-Received: by 2002:a05:6402:1a52:b0:522:ab06:7213 with SMTP id bf18-20020a0564021a5200b00522ab067213mr6809180edb.27.1691053387303; Thu, 03 Aug 2023 02:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691053387; cv=none; d=google.com; s=arc-20160816; b=QWgSvytUIdAGcvF1gXUUq6ZxsFB0xiJDDHrPFhATbpOFP1syCikk8q1uRZtOzbBuak 8uQrGpppc1T/8nddrOUGpzh2CXNGbcZ8FTHNCYmLFWYtTPHUABTIaW8EC61vdKT5GxTr RGZDpiDX0FRfRu0xLXj39W0j2OCH8PNxIX7yDNntNYsMRwshSwz/zd2qr2Eues4NMyaV ndllIotHxabInI8N75RNdB15zl7VNRlceqdKIOk1yoY1hpMDyvURGn9TTJlZrARvw3b7 c3gQ2t4GoPbixpqz1Spk3bv0ao4fDKszzQIKbknonulbr4A4pri9nHQCsY0mTFI3NOyE ZqiQ== 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=de4uwY0bXMfsMA67aT3xXadL51X3zW9hV2bjK5AVmTU=; fh=mTzRPhC1NUrzirQv1Y9QBraPjsglRD/yhyGbKO4vrCw=; b=kydku4CgDTJ7tmQB+03kAJ572nuISp87GbiC2QOj82ge2QTc1WaDNjTfX2MTacP1+u 9HZEOzRYuOwXg0hmPuc0c/wEWpkCmz1MVHc0/bzTy9iLnOy0JkXXjwHwgW6eOdmovNyn 9Zot0SytDqNN+x9HO22QtZOcgs0bEMydgmgFGqbjnB0yxYOjRPuYGlQdVtcY5bG1xmNt EbG5iFS+0tfNnUPfS1LXkDSJddaTzo+q+7/yIL3JZsxDcqMtN42OAcQwxu+6SaE9g2yD B827iUCE0fD7086b6e4HRh8P6FVRNE9rM3Gf1qquI0v5l4j3hfaG33aK0gIeHupD2ePW nYcw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020aa7c607000000b005222d007c74si8468555edq.400.2023.08.03.02.02.43; Thu, 03 Aug 2023 02:03:07 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234209AbjHCIPk (ORCPT + 99 others); Thu, 3 Aug 2023 04:15:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231343AbjHCIPD (ORCPT ); Thu, 3 Aug 2023 04:15:03 -0400 Received: from out30-101.freemail.mail.aliyun.com (out30-101.freemail.mail.aliyun.com [115.124.30.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EDF559FC for ; Thu, 3 Aug 2023 01:07:13 -0700 (PDT) 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=ay29a033018045176;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0Voy-X9g_1691050020; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Voy-X9g_1691050020) by smtp.aliyun-inc.com; Thu, 03 Aug 2023 16:07:09 +0800 From: Jiapeng Chong To: paulmck@kernel.org Cc: frederic@kernel.org, quic_neeraju@quicinc.com, joel@joelfernandes.org, josh@joshtriplett.org, boqun.feng@gmail.com, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, qiang.zhang1211@gmail.com, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] rcu-tasks: make rcu_tasks_lazy_ms static Date: Thu, 3 Aug 2023 16:06:59 +0800 Message-Id: <20230803080659.99071-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=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 The rcu_tasks_lazy_ms are not used outside the file tasks.h, so the modification is defined as static. kernel/rcu/tasks.h:1085:5: warning: symbol 'rcu_tasks_lazy_ms' was not declared. Should it be static? Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6086 Signed-off-by: Jiapeng Chong --- kernel/rcu/tasks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h index 83049a893de5..ee1379671798 100644 --- a/kernel/rcu/tasks.h +++ b/kernel/rcu/tasks.h @@ -1084,7 +1084,7 @@ void rcu_barrier_tasks(void) } EXPORT_SYMBOL_GPL(rcu_barrier_tasks); -int rcu_tasks_lazy_ms = -1; +static int rcu_tasks_lazy_ms = -1; module_param(rcu_tasks_lazy_ms, int, 0444); static int __init rcu_spawn_tasks_kthread(void) -- 2.20.1.7.g153144c