Hi Balbir, kernel test robot noticed the following build warnings:
[auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on next-20251120] [cannot apply to drm-misc/drm-misc-next drm-tip/drm-tip linus/master v6.18-rc6] [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/Balbir-Singh/fixup-mm-huge_memory-c-introduce-folio_split_unmapped/20251120-214322 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20251120134232.3588203-1-balbirs%40nvidia.com patch subject: [PATCH v2] fixup: mm/huge_memory.c: introduce folio_split_unmapped config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20251120/[email protected]/config) compiler: m68k-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251120/[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 warnings (new ones prefixed by >>): In file included from mm/filemap.c:39: >> include/linux/shmem_fs.h:160:13: warning: 'shmem_uncharge' defined but not >> used [-Wunused-function] 160 | static void shmem_uncharge(struct inode *inode, long pages) | ^~~~~~~~~~~~~~ -- mm/shmem.c: In function '__shmem_file_setup': mm/shmem.c:5838:23: warning: unused variable 'flags' [-Wunused-variable] 5838 | unsigned long flags = (vm_flags & VM_NORESERVE) ? SHMEM_F_NORESERVE : 0; | ^~~~~ In file included from mm/shmem.c:36: include/linux/shmem_fs.h: At top level: >> include/linux/shmem_fs.h:160:13: warning: 'shmem_uncharge' defined but not >> used [-Wunused-function] 160 | static void shmem_uncharge(struct inode *inode, long pages) | ^~~~~~~~~~~~~~ vim +/shmem_uncharge +160 include/linux/shmem_fs.h 159 > 160 static void shmem_uncharge(struct inode *inode, long pages) 161 { 162 } 163 #endif 164 extern unsigned long shmem_partial_swap_usage(struct address_space *mapping, 165 pgoff_t start, pgoff_t end); 166 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
