Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1389477pxb; Sat, 23 Apr 2022 05:28:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxr1gjpAYNBelWlzgHRY4oRgimQ1QNZn/Yk4bJOQ3lJ0AlL2qDa8OczqzRBjazPsMCA9GjZ X-Received: by 2002:a17:906:4fcc:b0:6e0:3269:2054 with SMTP id i12-20020a1709064fcc00b006e032692054mr7972376ejw.117.1650716916199; Sat, 23 Apr 2022 05:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650716916; cv=none; d=google.com; s=arc-20160816; b=0M8d01zQue0CrCQf9lNvjRrEY6WvPyIKM2hYror0+o4bTv1gqxxcdlVKzyw7Z5NMtm NDWdH5cB832B/LAOpK0E1lgmRKQ7RCkpCPVcjy5rHxAjjya964aX38cy82HEYwmpRtMw /c+N8cVsykgkUrz42lT5b+1+q40/mBXR+Fg/F857iF6ApaMBCcJjd95jfBU+F4Asp//B GCce+kIaAmdbDWs4OQeGQc9XRngIWbgCEirQ7+1V/u/kfFjpPGaJK4SdUJXi4bPGJ0S3 9iKW1WGmYFJTjcPW9CNRkQ+bEY1BwrhzWFo9wWTmIGB6yYIZdU9fdZxjd0UJov40wmB3 ke+Q== 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=J32lECvtjWcfeESdFdWdelJU2VjMmxkqCw6PojKUJP0=; b=D2JmvEZTCM6GdCox5AjigEUYXi2Cx3NkWVGja43ZB0cfNEcvn40NaZSJmJ5hQnq7Wk ZJqLTjz2wTyz18BaBUcYToMpwcBW35XoWWv80FXTGKx/8I6MNrpYFmkF7QXwF1AGrHtD 7tnRfkG1gGhr+kALZvHGewGrwq+9z2Owj5vSed8jGdrw8YqRIxtD7FfUYeMzuiQ0W+g3 HBSE/axm3XTO5M+QuLYq+FWPLLP2dG8u37okzyByHPbTFqv9Gu2ZZdQP+pJ8QU4HmulW Wtan/s3AdcdBm16EO9V9txitNOim9hLn098HLumtSgcS/rQL3cyplRccOJHFY6i4SL9p i2yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UBTW4dre; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a23-20020a170906469700b006e87e977bd3si7930554ejr.785.2022.04.23.05.28.11; Sat, 23 Apr 2022 05:28:36 -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=@intel.com header.s=Intel header.b=UBTW4dre; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233954AbiDWHeH (ORCPT + 99 others); Sat, 23 Apr 2022 03:34:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233651AbiDWHdt (ORCPT ); Sat, 23 Apr 2022 03:33:49 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6540CC2C for ; Sat, 23 Apr 2022 00:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650699052; x=1682235052; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=C541v7PuNvIqabzwOaiOUIw9BmTNKpxThOwoOZGimcI=; b=UBTW4dreahXsftWQzq5jN+i705E5crviz9dIQ45gTWnceSzIQfcVVQ/q G/A2xCBLUT+rMmtvVyKLSLvl6ouQ+y4J7qyq/RP7MsNT1hoHTZMXfn2w6 fKKOwUGCARef1cuJ/Uj3Lr7NHx0XcU2MRUelXZt8yCANEtEdmT/ZpXcbY mjZFzPu2a+3GsoxFsRzOmgXSivgSMhiTXRrfBUIil55Lg1aDlRz2V/cjZ qs/UDYBuYKnx2j3tR4pG8UlfWgltFYNH82GbFfdFsgahpGOCiXSqTDRPm MHyGODwnxgeLvF+TpA86/Sj//oQlov60TwlCApwK6OJlxpmSy+TWTti7u A==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="351311817" X-IronPort-AV: E=Sophos;i="5.90,284,1643702400"; d="scan'208";a="351311817" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2022 00:30:52 -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-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED 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 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