Message ID | 168553469008.404.7937834671472850266.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2828361vqr; Wed, 31 May 2023 05:09:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4/bY9U3NJNlcrornI7WPeXjSgODVgxmdYa5G2dPkx9u+HS0XhUKTXyMMnL+Njh/S+/T9Bt X-Received: by 2002:a05:6a00:24d4:b0:63b:64f7:45a0 with SMTP id d20-20020a056a0024d400b0063b64f745a0mr6910496pfv.12.1685534982941; Wed, 31 May 2023 05:09:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685534982; cv=none; d=google.com; s=arc-20160816; b=uL3eR/5eIBsDgZtW03ocqym2O7p+SW0dmTDEJf5zHlhSXJxH5ocBbQM6+1ClMpMbpv jTGhqb7l7qzegwAduRznTrUNOjqraCegD2/6W3BlthKXtqkUhlkN6/mJCMToD/6dJ3Mb rPpHqxbLTofjvY8YEFDdzgKlmXyHSUMEcaKvTi6VNq7RkVV9IsZx8AzNQLOu8rsdaJ5i 8r3jx0Ud6GVgPrfaqZqxGsNSTf34qCP3CAyUAiIYobdHTcQToJHM4RUXmjIUBrXNeiEA Q9LzLG+xUB3GMalM1OnWG0evcawKFLZKEDpBcii3OHXdcuL4FQ7x0JKygkJRFB8WLa0E t94A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=Ldt2eBdZjUhBa/gsmh/4m1hI9n4EcmmtGa8p/lsAqBI=; b=FOkBs9tcDfSEZ0kuZmGm+g2EOAalkqo2c4JiRMqmtT/3ZBeMInqapyiHfajlqoJM7L PeWDOIdoP99Z5vGV9nOrwQof3Bd+B6766YmhnUHAcA2VVTCY5DUl35hWgsxRuHCEr6UA 2n91pa5aMrAkGXmdlHiBX0Fs3trvIAA8K3Zty4vgSGmnAYJoQcbBsg+gRKYh2pxFdCPT fVtnOcZq+PttOvAdGvGZP2vKGMY44WVHl8inhiaEnPEmCyepgu1qYhr0rdpjvuGkaW0L CwUSLHFS/9TMNXOgjmyGyMFZ7Z0WSBSqkiD17Le5BNcrlgye5kxB7rKU0LyiNGh0me2J P/lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=RnxiO3Ys; dkim=neutral (no key) header.i=@linutronix.de; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q30-20020a63751e000000b005303c3dedc2si257472pgc.419.2023.05.31.05.09.28; Wed, 31 May 2023 05:09:42 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=RnxiO3Ys; dkim=neutral (no key) header.i=@linutronix.de; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235778AbjEaMFI (ORCPT <rfc822;andrewvogler123@gmail.com> + 99 others); Wed, 31 May 2023 08:05:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235792AbjEaMEx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 31 May 2023 08:04:53 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA7F410B; Wed, 31 May 2023 05:04:51 -0700 (PDT) Date: Wed, 31 May 2023 12:04:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1685534690; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ldt2eBdZjUhBa/gsmh/4m1hI9n4EcmmtGa8p/lsAqBI=; b=RnxiO3Ys2tdSFDNKjjdH5udvVrKlGOTJeyIpBgqPuMtStfiXgNUCWjqwuhZrdc0ACfErLD eqkeaCGhWSRA6q9p9u2aaipVW2vYAO/Ochwx4g4Nh0f01/BaHZMbqKzaEFDB08wajk8DYj GQd0Fkd2FOxaQIvHNSNjVGZ+4K8beSiFZdv5b+bVIn/MGSokS/U5IE0b0JwlcCUJyn7EPe bokl1LldS1XlEdToTbLjCLZWftHrVGLbiytoKbBG4gaJOtDGYA3CrHp2tZ9lLohLpwJZ5D 9iBgMNGS891X3v50vcESrTa0kF9TcObQkSpy0D2dPmRvC1/dlv2N1jXEJp8qcw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1685534690; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ldt2eBdZjUhBa/gsmh/4m1hI9n4EcmmtGa8p/lsAqBI=; b=iAKG8byCxOUveQS47vtSgcG7qFYutbrlZdE2bZz8w46mXAahHT/NbvATHRSlwYFt8RE6y6 njw7gmJfP77egkBw== From: "tip-bot2 for Arnd Bergmann" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/fair: Hide unused init_cfs_bandwidth() stub Cc: Arnd Bergmann <arnd@arndb.de>, "Peter Zijlstra (Intel)" <peterz@infradead.org>, Vincent Guittot <vincent.guittot@linaro.org>, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230522195021.3456768-4-arnd@kernel.org> References: <20230522195021.3456768-4-arnd@kernel.org> MIME-Version: 1.0 Message-ID: <168553469008.404.7937834671472850266.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767411530121678363?= X-GMAIL-MSGID: =?utf-8?q?1767411530121678363?= |
Series |
[tip:,sched/core] sched/fair: Hide unused init_cfs_bandwidth() stub
|
|
Commit Message
tip-bot2 for Thomas Gleixner
May 31, 2023, 12:04 p.m. UTC
The following commit has been merged into the sched/core branch of tip: Commit-ID: c0bdfd72fbfb7319581bd5bb09b4f10979385bac Gitweb: https://git.kernel.org/tip/c0bdfd72fbfb7319581bd5bb09b4f10979385bac Author: Arnd Bergmann <arnd@arndb.de> AuthorDate: Mon, 22 May 2023 21:50:19 +02:00 Committer: Peter Zijlstra <peterz@infradead.org> CommitterDate: Tue, 30 May 2023 22:46:25 +02:00 sched/fair: Hide unused init_cfs_bandwidth() stub init_cfs_bandwidth() is only used when CONFIG_FAIR_GROUP_SCHED is enabled, and without this causes a W=1 warning for the missing prototype: kernel/sched/fair.c:6131:6: error: no previous prototype for 'init_cfs_bandwidth' The normal implementation is only defined for CONFIG_CFS_BANDWIDTH, so the stub exists when CFS_BANDWIDTH is disabled but FAIR_GROUP_SCHED is enabled. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org> Link: https://lore.kernel.org/r/20230522195021.3456768-4-arnd@kernel.org --- kernel/sched/fair.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 2c1b345..a7a8ccd 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -6169,9 +6169,8 @@ static inline int throttled_lb_pair(struct task_group *tg, return 0; } -void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {} - #ifdef CONFIG_FAIR_GROUP_SCHED +void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {} static void init_cfs_rq_runtime(struct cfs_rq *cfs_rq) {} #endif