Re: [PATCH 1/2] befs: Add FS_IOC_GETFSLABEL ioctl

From: kernel test robot

Date: Fri Feb 13 2026 - 03:20:01 EST


Hi Ethan,

kernel test robot noticed the following build errors:

[auto build test ERROR on 541c43310e85dbf35368b43b720c6724bc8ad8ec]

url: https://github.com/intel-lab-lkp/linux/commits/Ethan-Ferguson/befs-Add-FS_IOC_GETFSLABEL-ioctl/20260213-071516
base: 541c43310e85dbf35368b43b720c6724bc8ad8ec
patch link: https://lore.kernel.org/r/20260212231339.644714-2-ethan.ferguson%40zetier.com
patch subject: [PATCH 1/2] befs: Add FS_IOC_GETFSLABEL ioctl
config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260213/202602131600.jVbNpmdD-lkp@xxxxxxxxx/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/20260213/202602131600.jVbNpmdD-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/202602131600.jVbNpmdD-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> fs/befs/linuxvfs.c:985:54: error: call to undeclared function 'compat_ptr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
985 | return befs_generic_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
| ^
1 error generated.


vim +/compat_ptr +985 fs/befs/linuxvfs.c

979
980 #ifdef CONFIG_COMPAT
981 static long befs_generic_compat_ioctl(struct file *filp, unsigned int cmd,
982 unsigned long arg)
983
984 {
> 985 return befs_generic_ioctl(filp, cmd, (unsigned long)compat_ptr(arg));
986 }
987 #endif
988

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki