All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [rcu:dev.2020.11.06a 15/22] kernel/taskstats.c:350: undefined reference to `cpulist_parse'
@ 2020-11-10  8:02 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-11-10  8:02 UTC (permalink / raw
  To: Paul Gortmaker; +Cc: kbuild-all, linux-kernel, Paul E. McKenney

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.11.06a
head:   5cec02881428f10c4a1632c3aebb666b12888958
commit: 015465e505581b068dba346e6e73caeb673e8753 [15/22] cpumask: un-inline cpulist_parse; prepare for ascii helpers
config: h8300-randconfig-r013-20201109 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=015465e505581b068dba346e6e73caeb673e8753
        git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
        git fetch --no-tags rcu dev.2020.11.06a
        git checkout 015465e505581b068dba346e6e73caeb673e8753
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300 

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 >>):

   h8300-linux-ld: arch/h8300/kernel/entry.o: in function `resume_kernel':
   arch/h8300/kernel/entry.S:324: undefined reference to `TI_PRE_COUNT'
   h8300-linux-ld: kernel/taskstats.o: in function `parse':
>> kernel/taskstats.c:350: undefined reference to `cpulist_parse'

vim +350 kernel/taskstats.c

f9fd8914c1acca0 Shailabh Nagar 2006-07-14  332  
41c7bb9588904eb Rusty Russell  2009-01-01  333  static int parse(struct nlattr *na, struct cpumask *mask)
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  334  {
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  335  	char *data;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  336  	int len;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  337  	int ret;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  338  
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  339  	if (na == NULL)
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  340  		return 1;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  341  	len = nla_len(na);
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  342  	if (len > TASKSTATS_CPUMASK_MAXLEN)
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  343  		return -E2BIG;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  344  	if (len < 1)
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  345  		return -EINVAL;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  346  	data = kmalloc(len, GFP_KERNEL);
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  347  	if (!data)
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  348  		return -ENOMEM;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  349  	nla_strlcpy(data, na, len);
29c0177e6a4ac09 Rusty Russell  2008-12-13 @350  	ret = cpulist_parse(data, mask);
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  351  	kfree(data);
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  352  	return ret;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  353  }
ad4ecbcba72855a Shailabh Nagar 2006-07-14  354  

:::::: The code at line 350 was first introduced by commit
:::::: 29c0177e6a4ac094302bed54a1d4bbb6b740a9ef cpumask: change cpumask_scnprintf, cpumask_parse_user, cpulist_parse, and cpulist_scnprintf to take pointers.

:::::: TO: Rusty Russell <rusty@rustcorp.com.au>
:::::: CC: Rusty Russell <rusty@rustcorp.com.au>

---
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: 24049 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [rcu:dev.2020.11.06a 15/22] kernel/taskstats.c:350: undefined reference to `cpulist_parse'
@ 2020-11-10  8:02 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-11-10  8:02 UTC (permalink / raw
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.11.06a
head:   5cec02881428f10c4a1632c3aebb666b12888958
commit: 015465e505581b068dba346e6e73caeb673e8753 [15/22] cpumask: un-inline cpulist_parse; prepare for ascii helpers
config: h8300-randconfig-r013-20201109 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=015465e505581b068dba346e6e73caeb673e8753
        git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
        git fetch --no-tags rcu dev.2020.11.06a
        git checkout 015465e505581b068dba346e6e73caeb673e8753
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300 

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 >>):

   h8300-linux-ld: arch/h8300/kernel/entry.o: in function `resume_kernel':
   arch/h8300/kernel/entry.S:324: undefined reference to `TI_PRE_COUNT'
   h8300-linux-ld: kernel/taskstats.o: in function `parse':
>> kernel/taskstats.c:350: undefined reference to `cpulist_parse'

vim +350 kernel/taskstats.c

f9fd8914c1acca0 Shailabh Nagar 2006-07-14  332  
41c7bb9588904eb Rusty Russell  2009-01-01  333  static int parse(struct nlattr *na, struct cpumask *mask)
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  334  {
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  335  	char *data;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  336  	int len;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  337  	int ret;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  338  
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  339  	if (na == NULL)
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  340  		return 1;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  341  	len = nla_len(na);
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  342  	if (len > TASKSTATS_CPUMASK_MAXLEN)
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  343  		return -E2BIG;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  344  	if (len < 1)
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  345  		return -EINVAL;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  346  	data = kmalloc(len, GFP_KERNEL);
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  347  	if (!data)
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  348  		return -ENOMEM;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  349  	nla_strlcpy(data, na, len);
29c0177e6a4ac09 Rusty Russell  2008-12-13 @350  	ret = cpulist_parse(data, mask);
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  351  	kfree(data);
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  352  	return ret;
f9fd8914c1acca0 Shailabh Nagar 2006-07-14  353  }
ad4ecbcba72855a Shailabh Nagar 2006-07-14  354  

:::::: The code@line 350 was first introduced by commit
:::::: 29c0177e6a4ac094302bed54a1d4bbb6b740a9ef cpumask: change cpumask_scnprintf, cpumask_parse_user, cpulist_parse, and cpulist_scnprintf to take pointers.

:::::: TO: Rusty Russell <rusty@rustcorp.com.au>
:::::: CC: Rusty Russell <rusty@rustcorp.com.au>

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-10  8:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-10  8:02 [rcu:dev.2020.11.06a 15/22] kernel/taskstats.c:350: undefined reference to `cpulist_parse' kernel test robot
2020-11-10  8:02 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.