* [rgushchin:percpu_shared.2 2/3] include/linux/memcontrol.h:1645:20: error: redefinition of 'mem_cgroup_kmem_disabled'
@ 2021-05-28 3:56 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-28 3:56 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3859 bytes --]
tree: https://github.com/rgushchin/linux.git percpu_shared.2
head: d26a8d37dbbd5bf1f34905a2255de1035de99f4e
commit: efe6d7239e3d87b8818881d246ebae29f525c9d7 [2/3] mm, memcg: introduce mem_cgroup_kmem_disabled()
config: x86_64-randconfig-a012-20210526 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 6505c630407c5feec818f0bb1c284f9eeebf2071)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/rgushchin/linux/commit/efe6d7239e3d87b8818881d246ebae29f525c9d7
git remote add rgushchin https://github.com/rgushchin/linux.git
git fetch --no-tags rgushchin percpu_shared.2
git checkout efe6d7239e3d87b8818881d246ebae29f525c9d7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 >>):
In file included from arch/x86/kernel/asm-offsets.c:13:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
>> include/linux/memcontrol.h:1645:20: error: redefinition of 'mem_cgroup_kmem_disabled'
static inline bool mem_cgroup_kmem_disabled(void)
^
include/linux/memcontrol.h:1104:20: note: previous definition is here
static inline bool mem_cgroup_kmem_disabled(void)
^
1 error generated.
--
In file included from arch/x86/kernel/asm-offsets.c:13:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
>> include/linux/memcontrol.h:1645:20: error: redefinition of 'mem_cgroup_kmem_disabled'
static inline bool mem_cgroup_kmem_disabled(void)
^
include/linux/memcontrol.h:1104:20: note: previous definition is here
static inline bool mem_cgroup_kmem_disabled(void)
^
1 error generated.
make[2]: *** [scripts/Makefile.build:116: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1235: prepare0] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [Makefile:215: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
In file included from arch/x86/kernel/asm-offsets.c:13:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
>> include/linux/memcontrol.h:1645:20: error: redefinition of 'mem_cgroup_kmem_disabled'
static inline bool mem_cgroup_kmem_disabled(void)
^
include/linux/memcontrol.h:1104:20: note: previous definition is here
static inline bool mem_cgroup_kmem_disabled(void)
^
1 error generated.
make[2]: *** [scripts/Makefile.build:116: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1235: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:215: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/mem_cgroup_kmem_disabled +1645 include/linux/memcontrol.h
1643
1644 #else
> 1645 static inline bool mem_cgroup_kmem_disabled(void)
1646 {
1647 return true;
1648 }
1649
---
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: 43070 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [rgushchin:percpu_shared.2 2/3] include/linux/memcontrol.h:1645:20: error: redefinition of 'mem_cgroup_kmem_disabled'
@ 2021-05-28 0:37 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-28 0:37 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2744 bytes --]
tree: https://github.com/rgushchin/linux.git percpu_shared.2
head: d26a8d37dbbd5bf1f34905a2255de1035de99f4e
commit: efe6d7239e3d87b8818881d246ebae29f525c9d7 [2/3] mm, memcg: introduce mem_cgroup_kmem_disabled()
config: i386-tinyconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/rgushchin/linux/commit/efe6d7239e3d87b8818881d246ebae29f525c9d7
git remote add rgushchin https://github.com/rgushchin/linux.git
git fetch --no-tags rgushchin percpu_shared.2
git checkout efe6d7239e3d87b8818881d246ebae29f525c9d7
# save the attached .config to linux build tree
make W=1 ARCH=i386
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 >>):
In file included from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
>> include/linux/memcontrol.h:1645:20: error: redefinition of 'mem_cgroup_kmem_disabled'
1645 | static inline bool mem_cgroup_kmem_disabled(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/memcontrol.h:1104:20: note: previous definition of 'mem_cgroup_kmem_disabled' was here
1104 | static inline bool mem_cgroup_kmem_disabled(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
>> include/linux/memcontrol.h:1645:20: error: redefinition of 'mem_cgroup_kmem_disabled'
1645 | static inline bool mem_cgroup_kmem_disabled(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/memcontrol.h:1104:20: note: previous definition of 'mem_cgroup_kmem_disabled' was here
1104 | static inline bool mem_cgroup_kmem_disabled(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:116: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1235: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:215: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/mem_cgroup_kmem_disabled +1645 include/linux/memcontrol.h
1643
1644 #else
> 1645 static inline bool mem_cgroup_kmem_disabled(void)
1646 {
1647 return true;
1648 }
1649
---
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: 7350 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-28 3:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28 3:56 [rgushchin:percpu_shared.2 2/3] include/linux/memcontrol.h:1645:20: error: redefinition of 'mem_cgroup_kmem_disabled' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-05-28 0:37 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.