Hi Michal,
kernel test robot noticed the following build warnings:
[auto build test WARNING on akpm-mm/mm-everything]
url: https://github.com/intel-lab-lkp/linux/commits/Michal-Clapinski/mm-memfd-add... base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20230908175738.41895-2-mclapinski%40google.com patch subject: [PATCH v2 1/2] mm/memfd: add ioctl(MEMFD_CHECK_IF_ORIGINAL) config: riscv-allnoconfig (https://download.01.org/0day-ci/archive/20230909/202309090301.rMwXPz1I-lkp@i...) compiler: riscv64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230909/202309090301.rMwXPz1I-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/202309090301.rMwXPz1I-lkp@intel.com/
All warnings (new ones prefixed by >>):
mm/shmem.c:4480:13: warning: 'shmem_file_ioctl' defined but not used [-Wunused-function]
4480 | static long shmem_file_ioctl(struct file *file, unsigned int cmd, | ^~~~~~~~~~~~~~~~
vim +/shmem_file_ioctl +4480 mm/shmem.c
4479
4480 static long shmem_file_ioctl(struct file *file, unsigned int cmd,
4481 unsigned long arg) 4482 { 4483 return memfd_ioctl(file, cmd, arg); 4484 } 4485