All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android13-5.15-2025-12 1/1] fs/eventpoll.c:2001: warning: Function parameter or member 'ep' not described in 'ep_get_upwards_depth_proc'
Date: Wed, 31 Dec 2025 09:45:31 +0800	[thread overview]
Message-ID: <202512310940.6DrnttMs-lkp@intel.com> (raw)

tree:   https://android.googlesource.com/kernel/common android13-5.15-2025-12
head:   66f18dc2099dba416cd26ec9bb386ce3a2748bad
commit: 71379495ab70eaba19224bd71b5b9b399eb85e04 [1/1] eventpoll: Fix semi-unbounded recursion
config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20251231/202512310940.6DrnttMs-lkp@intel.com/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/20251231/202512310940.6DrnttMs-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512310940.6DrnttMs-lkp@intel.com/

All warnings (new ones prefixed by >>):

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


vim +2001 fs/eventpoll.c

  1996	
  1997	/**
  1998	 * ep_get_upwards_depth_proc - determine depth of @ep when traversed upwards
  1999	 */
  2000	static int ep_get_upwards_depth_proc(struct eventpoll *ep, int depth)
> 2001	{
  2002		int result = 0;
  2003		struct epitem *epi;
  2004	
  2005		if (ep->gen == loop_check_gen)
  2006			return ep->loop_check_depth;
  2007		hlist_for_each_entry_rcu(epi, &ep->refs, fllink)
  2008			result = max(result, ep_get_upwards_depth_proc(epi->ep, depth + 1) + 1);
  2009		ep->gen = loop_check_gen;
  2010		ep->loop_check_depth = result;
  2011		return result;
  2012	}
  2013	

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

                 reply	other threads:[~2025-12-31  1:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202512310940.6DrnttMs-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.