From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53372C433EF for ; Sat, 23 Apr 2022 08:39:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 520B36B0073; Sat, 23 Apr 2022 04:39:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4D0DA6B0074; Sat, 23 Apr 2022 04:39:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 398036B0075; Sat, 23 Apr 2022 04:39:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.27]) by kanga.kvack.org (Postfix) with ESMTP id 2B90F6B0073 for ; Sat, 23 Apr 2022 04:39:20 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id E90F524472 for ; Sat, 23 Apr 2022 08:39:19 +0000 (UTC) X-FDA: 79387494438.27.FB4A3DF Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf24.hostedemail.com (Postfix) with ESMTP id A97B7180036 for ; Sat, 23 Apr 2022 08:39:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650703158; x=1682239158; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Koqb3ucL794VO7WRQVKQ9u/oAiwHZzbd/44eKdUbvoU=; b=ZLazGx8dosdg26aBGMI3wUycOau2VG6PZzlPo+W4YfWqYJjoQftdJp4i 4n5hmSS8hBAu2dxTZhR6o2L5U2R3Cce6cqHwg+FRyc6N1K261gDANp0ta ATy990/mBnxTtj5SfYYpOLCIFMw9QBvqq8Wep2AQYb0EdfNNnLwGiEJrH jyuHz80J/OUnQHV/eLcAv8KikOC2RgqsS5BpNSIIw1DqFys7GYLiUpXEE GYpFF20mhEfmd4bH+97sNuxY/MVyCEw6jBJT4DozWQ1IoPL2lCffAgKLF Xeg+YXNWZPpNY9sPL2Z7+oEAkeHU14B4s2rDhd85qIJgiL19G0JWfP+o1 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="325323597" X-IronPort-AV: E=Sophos;i="5.90,284,1643702400"; d="scan'208";a="325323597" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2022 01:39:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,284,1643702400"; d="scan'208";a="869027047" Received: from lkp-server01.sh.intel.com (HELO dd58949a6e39) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 23 Apr 2022 01:39:12 -0700 Received: from kbuild by dd58949a6e39 with local (Exim 4.95) (envelope-from ) id 1niBIN-000054-9G; Sat, 23 Apr 2022 08:39:11 +0000 Date: Sat, 23 Apr 2022 16:38:52 +0800 From: kernel test robot To: Jagdish Gediya , linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org Cc: kbuild-all@lists.01.org, baolin.wang@linux.alibaba.com, dave.hansen@linux.intel.com, ying.huang@intel.com, aneesh.kumar@linux.ibm.com, shy828301@gmail.com, weixugc@google.com, gthelen@google.com, dan.j.williams@intel.com, Jagdish Gediya Subject: Re: [PATCH v3 6/7] mm: demotion: expose per-node demotion targets via sysfs Message-ID: <202204231602.2DeA4BIa-lkp@intel.com> References: <20220422195516.10769-7-jvgediya@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220422195516.10769-7-jvgediya@linux.ibm.com> X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: A97B7180036 X-Stat-Signature: sn4wiekznifme1hw65dcqpbw5p7gia4s Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=ZLazGx8d; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf24.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.31) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-HE-Tag: 1650703156-253436 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Jagdish, Thank you for the patch! Yet something to improve: [auto build test ERROR on driver-core/driver-core-testing] [also build test ERROR on linus/master linux/master v5.18-rc3] [cannot apply to hnaz-mm/master next-20220422] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Jagdish-Gediya/mm-demotion-Introduce-new-node-state-N_DEMOTION_TARGETS/20220423-035714 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 4e224719f5d9b92abf1e0edfb2a83053208f3026 config: sparc-randconfig-r034-20220422 (https://download.01.org/0day-ci/archive/20220423/202204231602.2DeA4BIa-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/0717e30f61ac83bd6ec65395bf46fdb5131cb83f git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jagdish-Gediya/mm-demotion-Introduce-new-node-state-N_DEMOTION_TARGETS/20220423-035714 git checkout 0717e30f61ac83bd6ec65395bf46fdb5131cb83f # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/base/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/base/node.c: In function 'demotion_targets_show': >> drivers/base/node.c:567:39: error: implicit declaration of function 'node_get_demotion_targets' [-Werror=implicit-function-declaration] 567 | nodemask_t demotion_targets = node_get_demotion_targets(dev->id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/base/node.c:567:39: error: invalid initializer cc1: some warnings being treated as errors vim +/node_get_demotion_targets +567 drivers/base/node.c 563 564 static ssize_t demotion_targets_show(struct device *dev, 565 struct device_attribute *attr, char *buf) 566 { > 567 nodemask_t demotion_targets = node_get_demotion_targets(dev->id); 568 569 return sysfs_emit(buf, "%*pbl\n", nodemask_pr_args(&demotion_targets)); 570 } 571 static DEVICE_ATTR_RO(demotion_targets); 572 -- 0-DAY CI Kernel Test Service https://01.org/lkp