* [linux-next:master 12377/12643] arch/loongarch/include/asm/pgtable.h:614: error: "pud_leaf" redefined
@ 2024-07-11 12:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-07-11 12:17 UTC (permalink / raw)
To: Christophe Leroy
Cc: oe-kbuild-all, Linux Memory Management List, Andrew Morton,
Peter Xu
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: f477dd6eede3ecedc8963478571d99ec3bf3f762
commit: 4d460b397e28528bab4b2cea6a9337560e78b0b8 [12377/12643] mm: add p{g/4}d_leaf() in asm-generic/pgtable-nop{4/u}d.h
config: loongarch-randconfig-s032-20230528 (https://download.01.org/0day-ci/archive/20240711/202407112057.ILQhCXOL-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240711/202407112057.ILQhCXOL-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407112057.ILQhCXOL-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/loongarch/include/asm/uaccess.h:17,
from include/linux/uaccess.h:11,
from include/linux/sched/task.h:13,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from arch/loongarch/include/asm/elf.h:9,
from include/linux/elf.h:6,
from include/linux/module.h:19,
from lib/test_bitops.c:10:
>> arch/loongarch/include/asm/pgtable.h:614: error: "pud_leaf" redefined [-Werror]
614 | #define pud_leaf(pud) ((pud_val(pud) & _PAGE_HUGE) != 0)
|
In file included from arch/loongarch/include/asm/pgtable.h:18:
include/asm-generic/pgtable-nopmd.h:34: note: this is the location of the previous definition
34 | #define pud_leaf pud_leaf
|
cc1: all warnings being treated as errors
vim +/pud_leaf +614 arch/loongarch/include/asm/pgtable.h
d4b6f1562a3c32 Huacai Chen 2022-05-31 612
303be4b33562a5 Hongchen Zhang 2023-09-06 613 #define pmd_leaf(pmd) ((pmd_val(pmd) & _PAGE_HUGE) != 0)
303be4b33562a5 Hongchen Zhang 2023-09-06 @614 #define pud_leaf(pud) ((pud_val(pud) & _PAGE_HUGE) != 0)
303be4b33562a5 Hongchen Zhang 2023-09-06 615
:::::: The code at line 614 was first introduced by commit
:::::: 303be4b33562a5b689261ced1616bf16ad49efa7 LoongArch: mm: Add p?d_leaf() definitions
:::::: TO: Hongchen Zhang <zhanghongchen@loongson.cn>
:::::: CC: Huacai Chen <chenhuacai@loongson.cn>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-07-11 12:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11 12:17 [linux-next:master 12377/12643] arch/loongarch/include/asm/pgtable.h:614: error: "pud_leaf" redefined 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.