* [rppt:memory-models/rm-discontig/v1 8/9] lib/nodemask.c:21:5: error: redefinition of 'node_random'
@ 2021-05-26 11:47 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-26 11:47 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2497 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git memory-models/rm-discontig/v1
head: bb9fe24d1b478332cc8352e9325bab67f7ee4ba4
commit: 3683223692bffe89faa24280fb3f05a0728fa106 [8/9] mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMA
config: arm64-defconfig (attached as .config)
compiler: aarch64-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/rppt/linux.git/commit/?id=3683223692bffe89faa24280fb3f05a0728fa106
git remote add rppt https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git
git fetch --no-tags rppt memory-models/rm-discontig/v1
git checkout 3683223692bffe89faa24280fb3f05a0728fa106
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
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 >>):
>> lib/nodemask.c:21:5: error: redefinition of 'node_random'
21 | int node_random(const nodemask_t *maskp)
| ^~~~~~~~~~~
In file included from lib/nodemask.c:2:
include/linux/nodemask.h:500:19: note: previous definition of 'node_random' was here
500 | static inline int node_random(const nodemask_t *mask)
| ^~~~~~~~~~~
vim +/node_random +21 lib/nodemask.c
0edaf86cf1a6a9 Andrew Morton 2016-05-19 15
0edaf86cf1a6a9 Andrew Morton 2016-05-19 16 #ifdef CONFIG_NUMA
0edaf86cf1a6a9 Andrew Morton 2016-05-19 17 /*
0edaf86cf1a6a9 Andrew Morton 2016-05-19 18 * Return the bit number of a random bit set in the nodemask.
0edaf86cf1a6a9 Andrew Morton 2016-05-19 19 * (returns NUMA_NO_NODE if nodemask is empty)
0edaf86cf1a6a9 Andrew Morton 2016-05-19 20 */
0edaf86cf1a6a9 Andrew Morton 2016-05-19 @21 int node_random(const nodemask_t *maskp)
:::::: The code at line 21 was first introduced by commit
:::::: 0edaf86cf1a6a97d811fc34765ddbcbc310de564 include/linux/nodemask.h: create next_node_in() helper
:::::: TO: Andrew Morton <akpm@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
---
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: 55113 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-26 11:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 11:47 [rppt:memory-models/rm-discontig/v1 8/9] lib/nodemask.c:21:5: error: redefinition of 'node_random' 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.