[android-common:android14-6.1 14/14] fs/eventpoll.c:2008: warning: Function parameter or member 'depth' not described in 'ep_get_upwards_depth_proc'

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
Hi Jann,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android14-6.1
head:   42af5216d44771f3071e771ac4dca6c186e017ed
commit: 1b13b033062824495554e836a1ff5f85ccf6b039 [14/14] eventpoll: Fix semi-unbounded recursion
config: x86_64-randconfig-104-20260825 (https://download.01.org/0day-ci/archive/20260825/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260825/[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 >>):

   fs/eventpoll.c:2008: warning: Function parameter or member 'ep' not described in 'ep_get_upwards_depth_proc'
>> fs/eventpoll.c:2008: warning: Function parameter or member 'depth' not described in 'ep_get_upwards_depth_proc'


vim +2008 fs/eventpoll.c

  2003	
  2004	/**
  2005	 * ep_get_upwards_depth_proc - determine depth of @ep when traversed upwards
  2006	 */
  2007	static int ep_get_upwards_depth_proc(struct eventpoll *ep, int depth)
> 2008	{
  2009		int result = 0;
  2010		struct epitem *epi;
  2011	
  2012		if (ep->gen == loop_check_gen)
  2013			return ep->loop_check_depth;
  2014		hlist_for_each_entry_rcu(epi, &ep->refs, fllink)
  2015			result = max(result, ep_get_upwards_depth_proc(epi->ep, depth + 1) + 1);
  2016		ep->gen = loop_check_gen;
  2017		ep->loop_check_depth = result;
  2018		return result;
  2019	}
  2020	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.