Re: [PATCH v3] eventfd: introduce configurable maximum value for eventfd

From: kernel test robot
Date: Sun Mar 09 2025 - 10:32:44 EST


Hi Wen,

kernel test robot noticed the following build errors:

[auto build test ERROR on brauner-vfs/vfs.all]
[also build test ERROR on linus/master v6.14-rc5 next-20250307]
[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/Wen-Yang/eventfd-introduce-configurable-maximum-value-for-eventfd/20250309-135152
base: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link: https://lore.kernel.org/r/20250309055003.32194-1-wen.yang%40linux.dev
patch subject: [PATCH v3] eventfd: introduce configurable maximum value for eventfd
config: i386-buildonly-randconfig-002-20250309 (https://download.01.org/0day-ci/archive/20250309/202503092210.z9CcRYoe-lkp@xxxxxxxxx/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250309/202503092210.z9CcRYoe-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/202503092210.z9CcRYoe-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> fs/eventfd.c:251:69: error: use of undeclared identifier 'ucnt'
251 | return (ctx->maximum > ctx->count) && (ctx->maximum - ctx->count > ucnt);
| ^
1 error generated.


vim +/ucnt +251 fs/eventfd.c

248
249 static inline bool eventfd_is_writable(const struct eventfd_ctx *ctx)
250 {
> 251 return (ctx->maximum > ctx->count) && (ctx->maximum - ctx->count > ucnt);
252 }
253

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