tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 60e792f234ac2bde55a826388fb644bede86a012 commit: 4e04912a6c73df8a7185e0f4406d8a39daa027a3 [3135/3135] gmem: implement page faulting for peer-shared vma config: arm64-randconfig-001-20251112 (https://download.01.org/0day-ci/archive/20251112/202511121239.TQKV2Lm3-lkp@i...) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 996639d6ebb86ff15a8c99b67f1c2e2117636ae7) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251112/202511121239.TQKV2Lm3-lkp@i...) 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/202511121239.TQKV2Lm3-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from <built-in>:3: In file included from include/linux/compiler_types.h:150: include/linux/compiler-clang.h:33:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined] 33 | #define __SANITIZE_ADDRESS__ | ^ <built-in>:368:9: note: previous definition is here 368 | #define __SANITIZE_ADDRESS__ 1 | ^
mm/gmem.c:286:13: warning: no previous prototype for function 'gm_dev_fault' [-Wmissing-prototypes] 286 | enum gm_ret gm_dev_fault(struct mm_struct *mm, unsigned long addr, | ^ mm/gmem.c:286:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 286 | enum gm_ret gm_dev_fault(struct mm_struct *mm, unsigned long addr, | ^ | static 2 warnings generated.
vim +/gm_dev_fault +286 mm/gmem.c 285
286 enum gm_ret gm_dev_fault(struct mm_struct *mm, unsigned long addr, 287 struct gm_dev *dev, int behavior) 288 { 289 int ret; 290 291 mmap_read_lock(mm); 292 ret = gm_dev_fault_locked(mm, addr, dev, behavior); 293 mmap_read_unlock(mm); 294 295 return ret; 296 } 297 EXPORT_SYMBOL_GPL(gm_dev_fault); 298
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki