Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5403227rwb; Wed, 7 Sep 2022 02:11:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR6QuZOAaB+Pc6WHyJXrTtUSBMgsACe/2v0NFk62MqIaF2TXB49K7WuZpcl9+7BF01cGED6+ X-Received: by 2002:a17:90b:4f44:b0:1fa:f63c:ea1b with SMTP id pj4-20020a17090b4f4400b001faf63cea1bmr3062912pjb.30.1662541864078; Wed, 07 Sep 2022 02:11:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662541864; cv=none; d=google.com; s=arc-20160816; b=JFlJz76ByD9NGZ6mAelnT6s2hNx2lhXf6llVlH2MXy1k3T57SJeGYNToxTAhBnKZm1 1jsVlz5ZQOVcIw6H1iCVTzTp28cD2HGshco5/wZqWt9xDP2s17pNypB5MhR4tuqsHtZx lD2jzmrDuuNikOC/8reFH7Ehh1VJHKuLd2eL5mvOOuSb+FL/CwU2fEyl14EzNGPDhzC0 zLvz60u9cbHLvgAK5EA767+jne9Wt2ullqPZXOLabzmtRtCbb1xrEZvYWRbOQXNs1Q9A wZPl56HTiyYIRCnNTwG5c6eF//98zhNxRQ8sdqjAjHS9b+9jC5mh7OUgK3kaNVPcf3sG nI2A== 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=5xZgCU1Wna/4BF7JiA7KXVQmskvEFoxTs90kjwB9gZg=; b=EEWRqFtkBYVmV0MA7KIoeeh+h+E8/VYgv8/qQuVQdFZb2WIbP2o9YeSYLLcwBZNmJc 2HOF3/YCHNMEo6Pk7ehfqlihdHl7YLFtpXgSF6hQacPdoPwLeDV4vWP6UHMksydGjr50 mBWdh0jUGezNR0kz+UlpUJXns3mTC/fx21tv0c6Ga125GPEteaZoJNffD5ohtjc/ech3 rSBrGRnp0yh1ikyA1X119UIIJ0d9dF2/KN6A9/pN7BdrGmVmJ5/qbkFCo4JcuN39TMP0 mtWUQPHwDqmTaeWu2rsr18E2+R2F5JHUBiasZG3pVhFgFUuDm09n3mvBXLH0rCiKWJxz ukDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=OiDdo0uz; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a62ea04000000b0052e6e3e0a05si15380557pfh.322.2022.09.07.02.10.52; Wed, 07 Sep 2022 02:11:04 -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=@infradead.org header.s=desiato.20200630 header.b=OiDdo0uz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230148AbiIGIG1 (ORCPT + 99 others); Wed, 7 Sep 2022 04:06:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230212AbiIGIGZ (ORCPT ); Wed, 7 Sep 2022 04:06:25 -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 AEA194F658 for ; Wed, 7 Sep 2022 01:06:24 -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=5xZgCU1Wna/4BF7JiA7KXVQmskvEFoxTs90kjwB9gZg=; b=OiDdo0uzIzmIXCRf4iGV2u+r/+ PMbWPVORg8Tf3nC9KCA/XHVwRxcaE8RDAOrtL6/4fUHvS0yqSxTxGcfOHsrqOyVwRPwvxMS8SH/rK mYs1WLKOWrFyXulmjOv9mFkUwfyXYcaewBzbnu0qI+/m4kRhHcqUJ59AO8majA/bAeY+8XEvwyycb FfmWCrECYV3Em3jBT4pm6R2FTGM6o3CXhekEYGvKzW4vIUtwFb1BPS0/SdhdW69wo07Y/56j/4BoV 7RJh4Y2oNU3iHZKQMWA37U0gDjOmTSUNho5W/ct6uAO2Ajuz4DP+sdXxPQ5biR5BIMjP6MkZ/efuQ dK2a2Irw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVq4U-00AOrK-6t; Wed, 07 Sep 2022 08:06:06 +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 (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 8031F3003B0; Wed, 7 Sep 2022 10:06:05 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3B98C2B98C608; Wed, 7 Sep 2022 10:06:05 +0200 (CEST) Date: Wed, 7 Sep 2022 10:06:05 +0200 From: Peter Zijlstra To: Chengming Zhou Cc: kernel test robot , Johannes Weiner , Tejun Heo , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [peterz-queue:sched/psi 11/11] include/linux/cgroup-defs.h:432:38: error: 'NR_PSI_RESOURCES' undeclared here (not in a function) Message-ID: References: <202209070242.7EuRnstk-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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_NONE,T_SCC_BODY_TEXT_LINE 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 On Wed, Sep 07, 2022 at 10:45:55AM +0800, Chengming Zhou wrote: > On 2022/9/7 02:33, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/psi > > head: 51beb408c569e516780c84a2020920432ad4c5ed > > commit: 51beb408c569e516780c84a2020920432ad4c5ed [11/11] sched/psi: Per-cgroup PSI accounting disable/re-enable interface > > config: i386-randconfig-a001 > > compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 > > reproduce (this is a W=1 build): > > # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=51beb408c569e516780c84a2020920432ad4c5ed > > git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git > > git fetch --no-tags peterz-queue sched/psi > > git checkout 51beb408c569e516780c84a2020920432ad4c5ed > > # save the config file > > mkdir build_dir && cp config build_dir/.config > > make W=1 O=build_dir ARCH=i386 prepare > > > > If you fix the issue, kindly add following tag where applicable > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > In file included from include/linux/cgroup.h:28, > > from include/linux/memcontrol.h:13, > > from include/linux/swap.h:9, > > from include/linux/suspend.h:5, > > from arch/x86/kernel/asm-offsets.c:13: > >>> include/linux/cgroup-defs.h:432:38: error: 'NR_PSI_RESOURCES' undeclared here (not in a function) > > 432 | struct cgroup_file psi_files[NR_PSI_RESOURCES]; > > Sorry, looks like there are two problems here: > > 1. NR_PSI_RESOURCES is undeclared when !CONFIG_PSI > > Should I send the below diff as a separate patch? Please reply to the original patch with an updated version and I'll replace it.