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 22A3EC433EF for ; Sat, 23 Apr 2022 07:30:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 34B546B0073; Sat, 23 Apr 2022 03:30:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2FBA66B0074; Sat, 23 Apr 2022 03:30:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1C3B16B0075; Sat, 23 Apr 2022 03:30:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.a.hostedemail.com [64.99.140.24]) by kanga.kvack.org (Postfix) with ESMTP id 0CC426B0073 for ; Sat, 23 Apr 2022 03:30:55 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id C871C25CE7 for ; Sat, 23 Apr 2022 07:30:54 +0000 (UTC) X-FDA: 79387322028.13.FF0A584 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf08.hostedemail.com (Postfix) with ESMTP id 2731716001B for ; Sat, 23 Apr 2022 07:30:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650699053; x=1682235053; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=C541v7PuNvIqabzwOaiOUIw9BmTNKpxThOwoOZGimcI=; b=kZPUMeFAyYGqP1gTZ5ZUGNctViasRqylHcxPa1+ZG5DrxSH5jaP5SSbW BT8POy8SCi7kntDLcl0DJivIMpbuc5IYgH1n1XBmI7/IJshdm6HsGYoeJ TfDGp2v16FQUASZNTOXNfcYbrtyI2Bn0vGXwBgXwZYFIqo9eN+LSzyzGq BjVJy2AOt7Zfi2s6TzF1abJVONEz3vLEVkgq0z9IaEK+YH1Qc3ZLR7YvY Grp4Z6h+bKu8dOSsHmVxDrbMTljYyWpHb6H3CjKuTZSl2BSrA27n7SjlV pZi2iBZ2LeUas1AAotxec4VpR7Gmc21n0WwcDlv21i4LSInr2idR9b3bf g==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="264356411" X-IronPort-AV: E=Sophos;i="5.90,284,1643702400"; d="scan'208";a="264356411" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2022 00:30:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,284,1643702400"; d="scan'208";a="673433864" Received: from lkp-server01.sh.intel.com (HELO dd58949a6e39) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 23 Apr 2022 00:30:48 -0700 Received: from kbuild by dd58949a6e39 with local (Exim 4.95) (envelope-from ) id 1niAEB-00001P-Db; Sat, 23 Apr 2022 07:30:47 +0000 Date: Sat, 23 Apr 2022 15:30:17 +0800 From: kernel test robot To: Jagdish Gediya , linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org Cc: llvm@lists.linux.dev, 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: <202204231557.Jmw6QI8T-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-Stat-Signature: 1osbnaru371xiok6kjid1s9kikruhhwc X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 2731716001B Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=kZPUMeFA; spf=none (imf08.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.24) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-HE-Tag: 1650699049-688489 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: x86_64-randconfig-a016 (https://download.01.org/0day-ci/archive/20220423/202204231557.Jmw6QI8T-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5bd87350a5ae429baf8f373cb226a57b62f87280) 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=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash 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:567:32: error: call to undeclared function 'node_get_demotion_targets'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] nodemask_t demotion_targets = node_get_demotion_targets(dev->id); ^ >> drivers/base/node.c:567:13: error: initializing 'nodemask_t' with an expression of incompatible type 'int' nodemask_t demotion_targets = node_get_demotion_targets(dev->id); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. 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