Hi Nikita, kernel test robot noticed the following build errors:
[auto build test ERROR on 0499add8efd72456514c6218c062911ccc922a99] url: https://github.com/intel-lab-lkp/linux/commits/Kalyazin-Nikita/set_memory-set_direct_map_-to-take-address/20260127-005641 base: 0499add8efd72456514c6218c062911ccc922a99 patch link: https://lore.kernel.org/r/20260126164445.11867-2-kalyazin%40amazon.com patch subject: [PATCH v10 01/15] set_memory: set_direct_map_* to take address config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20260128/[email protected]/config) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260128/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): >> arch/loongarch/mm/pageattr.c:211:16: error: redefinition of 'addr' with a >> different type: 'unsigned long' vs 'const void *' 211 | unsigned long addr = (unsigned long)addr; | ^ arch/loongarch/mm/pageattr.c:209:48: note: previous definition is here 209 | int set_direct_map_invalid_noflush(const void *addr) | ^ 1 error generated. vim +211 arch/loongarch/mm/pageattr.c 208 209 int set_direct_map_invalid_noflush(const void *addr) 210 { > 211 unsigned long addr = (unsigned long)addr; 212 213 if ((unsigned long)addr < vm_map_base) 214 return 0; 215 216 return __set_memory((unsigned long)addr, 1, __pgprot(0), 217 __pgprot(_PAGE_PRESENT | _PAGE_VALID)); 218 } 219 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
