[openeuler:OLK-6.6 0/15] htmldocs: ./fs/eventpoll.c:2043: warning: Function parameter or member 'ep' not described in 'ep_get_upwards_depth_proc'
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: f148785f0bb856bba8ceca2b699a2f102f22174a commit: e26c080d818afd35143c9bcc49978bdf5068ee33 [0/15] eventpoll: Fix semi-unbounded recursion reproduce: (https://download.01.org/0day-ci/archive/20251229/202512291934.AIV7LiBp-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/202512291934.AIV7LiBp-lkp@intel.com/ All warnings (new ones prefixed by >>): Error: Cannot open file ./include/linux/wmi.h Error: Cannot open file ./include/linux/fs.h Error: Cannot open file ./include/linux/fs.h Error: Cannot open file ./include/linux/dcache.h Error: Cannot open file ./include/linux/dcache.h
./fs/eventpoll.c:2043: warning: Function parameter or member 'ep' not described in 'ep_get_upwards_depth_proc' ./fs/eventpoll.c:2043: warning: Function parameter or member 'depth' not described in 'ep_get_upwards_depth_proc' Error: Cannot open file ./include/linux/fscache-cache.h Error: Cannot open file ./include/linux/fscache.h Error: Cannot open file ./include/linux/jbd2.h Error: Cannot open file ./include/linux/jbd2.h Error: Cannot open file ./include/linux/netfs.h
vim +2043 ./fs/eventpoll.c 2038 2039 /** 2040 * ep_get_upwards_depth_proc - determine depth of @ep when traversed upwards 2041 */ 2042 static int ep_get_upwards_depth_proc(struct eventpoll *ep, int depth)
2043 { 2044 int result = 0; 2045 struct epitem *epi; 2046 2047 if (ep->gen == loop_check_gen) 2048 return ep->loop_check_depth; 2049 hlist_for_each_entry_rcu(epi, &ep->refs, fllink) 2050 result = max(result, ep_get_upwards_depth_proc(epi->ep, depth + 1) + 1); 2051 ep->gen = loop_check_gen; 2052 ep->loop_check_depth = result; 2053 return result; 2054 } 2055
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot