All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ben Hutchings <bwh@kernel.org>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [cip:linux-4.19.y-cip-rt-rebase 91/29558] kernel/sched/swork.c:110: warning: Function parameter or member 'sev' not described in 'swork_queue'
Date: Tue, 12 Mar 2024 02:16:34 +0800	[thread overview]
Message-ID: <202403120234.vchyu693-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git linux-4.19.y-cip-rt-rebase
head:   dce1701e767e33da39db64fe691cd4783ec7dbbf
commit: c0c39481390a053a3425c0091ddb2a0a22491088 [91/29558] work-simple: Simple work queue implemenation
config: arc-randconfig-001-20240303 (https://download.01.org/0day-ci/archive/20240312/202403120234.vchyu693-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240312/202403120234.vchyu693-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/202403120234.vchyu693-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> kernel/sched/swork.c:110: warning: Function parameter or member 'sev' not described in 'swork_queue'


vim +110 kernel/sched/swork.c

   101	
   102	/**
   103	 * swork_queue - queue swork
   104	 *
   105	 * Returns %false if @work was already on a queue, %true otherwise.
   106	 *
   107	 * The work is queued and processed on a random CPU
   108	 */
   109	bool swork_queue(struct swork_event *sev)
 > 110	{
   111		unsigned long flags;
   112	
   113		if (test_and_set_bit(SWORK_EVENT_PENDING, &sev->flags))
   114			return false;
   115	
   116		raw_spin_lock_irqsave(&glob_worker->lock, flags);
   117		list_add_tail(&sev->item, &glob_worker->events);
   118		raw_spin_unlock_irqrestore(&glob_worker->lock, flags);
   119	
   120		swake_up_one(&glob_worker->wq);
   121		return true;
   122	}
   123	EXPORT_SYMBOL_GPL(swork_queue);
   124	

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

                 reply	other threads:[~2024-03-11 18:16 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=202403120234.vchyu693-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bigeasy@linutronix.de \
    --cc=bwh@kernel.org \
    --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.