Hi Jonathan, kernel test robot noticed the following build warnings: [auto build test WARNING on driver-core/driver-core-testing] [also build test WARNING on driver-core/driver-core-next driver-core/driver-core-linus arm64/for-next/core linus/master nvdimm/libnvdimm-for-next v6.16-rc3] [cannot apply to nvdimm/dax-misc next-20250625] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Jonathan-Cameron/memregion-Support-fine-grained-invalidate-by-cpu_cache_invalidate_memregion/20250624-235402 base: driver-core/driver-core-testing patch link: https://lore.kernel.org/r/20250624154805.66985-6-Jonathan.Cameron%40huawei.com patch subject: [PATCH v2 5/8] arm64: Select GENERIC_CPU_CACHE_INVALIDATE_MEMREGION config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20250626/202506260055.YivRG9iE-lkp@xxxxxxxxx/config) compiler: aarch64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250626/202506260055.YivRG9iE-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202506260055.YivRG9iE-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/base/cache.c:31:5: warning: no previous prototype for 'cpu_cache_invalidate_memregion' [-Wmissing-prototypes] 31 | int cpu_cache_invalidate_memregion(int res_desc, phys_addr_t start, size_t len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/base/cache.c:41:6: warning: no previous prototype for 'cpu_cache_has_invalidate_memregion' [-Wmissing-prototypes] 41 | bool cpu_cache_has_invalidate_memregion(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/cpu_cache_invalidate_memregion +31 drivers/base/cache.c b51d47491c68ae Yicong Yang 2025-06-24 30 b51d47491c68ae Yicong Yang 2025-06-24 @31 int cpu_cache_invalidate_memregion(int res_desc, phys_addr_t start, size_t len) b51d47491c68ae Yicong Yang 2025-06-24 32 { b51d47491c68ae Yicong Yang 2025-06-24 33 guard(spinlock_irqsave)(&scfm_lock); b51d47491c68ae Yicong Yang 2025-06-24 34 if (!scfm_data) b51d47491c68ae Yicong Yang 2025-06-24 35 return -EOPNOTSUPP; b51d47491c68ae Yicong Yang 2025-06-24 36 b51d47491c68ae Yicong Yang 2025-06-24 37 return scfm_data->invalidate_memregion(res_desc, start, len); b51d47491c68ae Yicong Yang 2025-06-24 38 } b51d47491c68ae Yicong Yang 2025-06-24 39 EXPORT_SYMBOL_NS_GPL(cpu_cache_invalidate_memregion, "DEVMEM"); b51d47491c68ae Yicong Yang 2025-06-24 40 b51d47491c68ae Yicong Yang 2025-06-24 @41 bool cpu_cache_has_invalidate_memregion(void) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki