mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [norov:demotion-final 5/6] mm/mempolicy.c:3043: undefined reference to `node_demotion'
@ 2021-08-16  0:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-16  0:39 UTC (permalink / raw)
  To: Yury Norov; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1718 bytes --]

tree:   https://github.com/norov/linux demotion-final
head:   260e1fe9fc779f2f5182d595e375fa7ded4ff435
commit: ada82b5573a980b7c5a7aeae488ea6c7213e6429 [5/6] sysfs: add /sys/kernel/mm/numa/demotion_list
config: x86_64-randconfig-a001-20210816 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/norov/linux/commit/ada82b5573a980b7c5a7aeae488ea6c7213e6429
        git remote add norov https://github.com/norov/linux
        git fetch --no-tags norov demotion-final
        git checkout ada82b5573a980b7c5a7aeae488ea6c7213e6429
        # save the attached .config to linux build tree
        mkdir build_dir
        make 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 <lkp@intel.com>

All errors (new ones prefixed by >>):

   ld: mm/mempolicy.o: in function `numa_demotion_list_show':
>> mm/mempolicy.c:3043: undefined reference to `node_demotion'


vim +3043 mm/mempolicy.c

  3032	
  3033	static struct kobj_attribute numa_demotion_enabled_attr =
  3034		__ATTR(demotion_enabled, 0644, numa_demotion_enabled_show,
  3035		       numa_demotion_enabled_store);
  3036	
  3037	static ssize_t numa_demotion_list_show(struct kobject *kobj,
  3038						  struct kobj_attribute *attr, char *buf)
  3039	{
  3040		int len, n, pos = 0;
  3041	
  3042		for_each_online_node(n) {
> 3043			len = sysfs_emit_at(buf, pos, "%d %d\n", n, node_demotion[n]);
  3044			if (len > 0)
  3045				pos += len;
  3046		}
  3047	
  3048		return pos;
  3049	}
  3050	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32489 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-16  0:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16  0:39 [norov:demotion-final 5/6] mm/mempolicy.c:3043: undefined reference to `node_demotion' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®