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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5C25C433F5 for ; Sat, 23 Apr 2022 07:31:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233958AbiDWHeJ (ORCPT ); Sat, 23 Apr 2022 03:34:09 -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> 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