All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2024-03-11 18:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-11 18:16 UTC (permalink / raw)
  To: Ben Hutchings, Sebastian Andrzej Siewior; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-11 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-11 18:16 [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' kernel test robot

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.