Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp276176pxb; Sat, 11 Sep 2021 04:58:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEaeM8TFa0hB3z4Q4itw5trynJ0epJ1CFbRNFMO3UmHo15GqRJnaRi23DOWjLDv1wPdlTK X-Received: by 2002:a5e:8711:: with SMTP id y17mr1755979ioj.16.1631361537036; Sat, 11 Sep 2021 04:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631361537; cv=none; d=google.com; s=arc-20160816; b=kNYbEfqlRS4kILHliWYu3PuPqf4pZ52HI2os2FgaP9NIfWw/evo63VsbLi4Y9b5fhY oNUPh07LlwmEuZCqsY6xAbeO5Hn9VifahkXhph+YzFrP2iZc6fW6KqnWpynCcNceCOa+ XCjP2ZiuxKBev+GES9lr8Oldcx6z9co4VVOzhbaOKGtvHYiHUP6R9h/BYL5xtFotfxoO GHmIhTBFhOkcsdYAqIj31QNKk67SN9V56o/xPljpMPTlv7pej1AxFx0inlsRoUi8bbHd 3altAESVPbRrmm2YstVZnZJ2Le+l/YKyMUaWd7MJT0a0oEAMOFewycXprbzoKt0z4Yxo 6SQA== 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=v6WPdxMCjSoLNlI5VNVmU79AfLZr9gl0E6xtIsMqPH0=; b=kJ6OtY8SQdIpO3tu5TGx/ZKDDRYemnEyX0FWd931Y4xUak7HFHzmxgJ7BB+FvDoXDa gZpbbNwhxoaTciMB0eFcQKlfg77ShXydmyH1/EL8KLtp6USfW5yki2wusa/qfQm7Il8L EL6X/0p3cj4RGdW63il3ohUjnETd5K2/AQP5+OlVvCYLT9TcV6n6uuPqG2UUsTqNqIWZ +KEgwlj/ZshZx3otoYWNffRw88nAKUWHi0kzOMvcqH534/DgQtdj/Wy9GsF3/Bo2yMf/ iTl4xUimoqgtvs1aQfXKC1WZXXQmrJPbU6eWOawzis8UvgnUsGNH6T8yXMRPtzMuQK5E 3cSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=muouqXBo; 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 n6si1393091ilk.152.2021.09.11.04.58.45; Sat, 11 Sep 2021 04:58:57 -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=muouqXBo; 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 S235212AbhIKL6r (ORCPT + 99 others); Sat, 11 Sep 2021 07:58:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230249AbhIKL6q (ORCPT ); Sat, 11 Sep 2021 07:58:46 -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 DFEC3C061574 for ; Sat, 11 Sep 2021 04:57:33 -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=v6WPdxMCjSoLNlI5VNVmU79AfLZr9gl0E6xtIsMqPH0=; b=muouqXBopCp5uPyywT21UwZaoK Mx9DWao1sL6BR8XN1JCCVLwoj9aKBeRD38jYEjN+VKbl7Ppg713gOLdxDBBr4FAcoRX9rPyOGmmy8 apywXuA4oS9B3X9FdKQch0N7rgMqHJDp4ap0J7zG4Y3Ytg2tm7FOhyj9SZ8uZEr2T/DEizL2K/lXD HzGu/EhF2hr6cZ3K57PI/z4Q0OJ8Vr3ll3EVKkT+h6pXtIxJGZJWYvI8X6Wz9qj8DlCaUZBSSXQf5 z9MQtmJKDAZcQFfBZlSlg2mxa51rHkPIJIiznSTaipQHpUYTMYz5hDWCbmaZKwpw6a1/GvIJJT6aj 1ruiYw6g==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mP1dL-002MqN-IM; Sat, 11 Sep 2021 11:57:24 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id CA8FE9862C9; Sat, 11 Sep 2021 13:57:21 +0200 (CEST) Date: Sat, 11 Sep 2021 13:57:21 +0200 From: Peter Zijlstra To: Yafang Shao Cc: lkp@intel.com, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH peterz-queue:sched/core] sched: fix build warning with W=1 Message-ID: <20210911115721.GV4323@worktop.programming.kicks-ass.net> References: <20210911082505.115758-1-laoar.shao@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210911082505.115758-1-laoar.shao@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 11, 2021 at 08:25:05AM +0000, Yafang Shao wrote: > kernel test robot reported some build warnings with W=1 as below, > > kernel/sched/fair.c:892:34: warning: variable 'stats' set but not used > kernel/sched/core.c:10238:42: warning: variable 'stats' set but not used > kernel/sched/fair.c:893:29: warning: variable 'p' set but not used > kernel/sched/rt.c:1292:29: warning: variable 'p' set but not used > kernel/sched/deadline.c:1486:34: warning: variable 'stats' set but not used > arch/nds32/include/asm/current.h:10:13: warning: variable '$r25' set but not used Yeah, I got the mails... :-) I'll need it per patch tho, so that I can fix the individual commits. Let me go do that. Thanks for looking at this.