Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2434588pxb; Tue, 12 Oct 2021 06:37:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE3aCyrdl5OFX1mqdX3PGSRJ0m79QzikL6ZFMA4YUifRzaolAUE8EcfjFkavf+Dr5SAc37 X-Received: by 2002:a17:90a:10:: with SMTP id 16mr6147716pja.50.1634045840066; Tue, 12 Oct 2021 06:37:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634045840; cv=none; d=google.com; s=arc-20160816; b=0tNxNuwn8Hrfi6FgzfB1QiHJckPCDDAr4OF9/1DeakbSla9pRI/7dZBcBHHaflSyUg y1QvCJB/jwqeONlhww6DECVZOmvF0ldfLDnqS/aOwCki8uaWqIeBLGyFP0ZmI3DDU6n9 KgQRQ/rS0t8KJPRGKPEuu6sSjFqn6Y6ur5l9MNIBYny0x158LMq1iO+qXOfCQxeZUuGp OJ2BffBismiw71xnOJiRE5xCyPOTsJBVApwDY0mx0MnURGeMjJnQ/IDfWXnuLztD3hID U4Q6midgfyeB0jsRZvTi4DtqPdy5EOE6RxDxD3MmS8CIFjsH/qtkwH2+pEIAmhJOy9fn mcTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tXNnx8LeK5vZDxn3FyZJdfp25+yJkUEyDS/Jbb2knQk=; b=ezzzjyFIk6qYYYXoVIG7rBO8SkUEyMGc8+fHPTMX+Z48NDLt7vKPjGC2YyHa1RVFW7 gtBIHZTqRG4m8/W6rNvpL/Uynwmp8IjTE4VLfDF5rgKPlt4UXriYyBGgLhDOwkdOWyhv RWeC0Nvw7K9QC9+foK33Sy0BWM22rnp+OPB8jn1Mm9JATaeqw6v8EzL+UOpbHUrG9at2 bNhkf1HDnJtv6G6AqV8FSsPHTTnyzYI0863qvHnjbNYCtEcOZr7W2WDu9+8Cuf4+6G1A S19z34lsBATpTAQMdeXJa7dIDLsJYMzAcKBKQi069nGr78FdRx14RF2AYe/k1ok68gOU Fi1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=U4jLcsSs; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w67si5986874pfd.335.2021.10.12.06.37.07; Tue, 12 Oct 2021 06:37:20 -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; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=U4jLcsSs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236878AbhJLNiA (ORCPT + 99 others); Tue, 12 Oct 2021 09:38:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236660AbhJLNh4 (ORCPT ); Tue, 12 Oct 2021 09:37:56 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8CC5C06161C for ; Tue, 12 Oct 2021 06:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=tXNnx8LeK5vZDxn3FyZJdfp25+yJkUEyDS/Jbb2knQk=; b=U4jLcsSsGVTd9zx0Ykbqv4JBhU fz5hml3Qx8SKX3sKfiDE/Uu+bMqD27z4Ax6zvIejJhkeiUErggRBKpUyl0CAPu3PHGLNlbUzzJQ9j Mb+PYzo66/9jBgqbU9O0Ga0ZD24CM9zsnDqrkn84LryVYkWmgmwlszWrtS4dqiBitAJgCgbMMptDa FB8j1CDJqKYobfpKXRPugCqEJM+LRhrRwdSx0A35tTyRKCWtQqVwnXVqp4Jy/GlAfiO4RtCZLNbiw VzmbGFmsyo9z1a9tsWm7OC3hJqloh0t2x6SYkTdDFtQ5nNynvhSRwbJruTzameWCds6/tlFrzuaXC KNcxo8uQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1maHwW-009Q3j-9p; Tue, 12 Oct 2021 13:35:44 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 1CE1530032E; Tue, 12 Oct 2021 15:35:43 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 01E172C8434D1; Tue, 12 Oct 2021 15:35:42 +0200 (CEST) Date: Tue, 12 Oct 2021 15:35:42 +0200 From: Peter Zijlstra To: kernel test robot Cc: Yafang Shao , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [tip:sched/core 14/47] kernel/sched/fair.c:893:22: error: variable 'p' set but not used Message-ID: References: <202110121132.N2z9JrD0-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 12, 2021 at 01:26:54PM +0200, Peter Zijlstra wrote: > Again, I have absolutely no intention of fixing this. IMO this is the > compiler being a total pain in the arse. > > Please stop reporting this. How's this then? diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile index 978fcfca5871..b0d9121c5dce 100644 --- a/kernel/sched/Makefile +++ b/kernel/sched/Makefile @@ -3,6 +3,10 @@ ifdef CONFIG_FUNCTION_TRACER CFLAGS_REMOVE_clock.o = $(CC_FLAGS_FTRACE) endif +# The compilers are complaining about unused variables inside an if(0) scope +# block. This is daft, shut them up. +ccflags-y += -Wno-unused-but-set-variable + # These files are disabled because they produce non-interesting flaky coverage # that is not a function of syscall inputs. E.g. involuntary context switches. KCOV_INSTRUMENT := n