Re: [PATCH v5 07/20] kthread: Initial support for delayed kthread work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Petr,

[auto build test WARNING on soc-thermal/next]
[also build test WARNING on v4.5-rc5 next-20160222]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Petr-Mladek/kthread-Use-kthread-worker-API-more-widely/20160222-230250
base:   https://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal next
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

   include/linux/init.h:1: warning: no structured comments found
>> kernel/kthread.c:833: warning: No description found for parameter 'dwork'
>> kernel/kthread.c:833: warning: No description found for parameter 'delay'
>> kernel/kthread.c:833: warning: Excess function parameter 'work' description in 'queue_delayed_kthread_work'
   kernel/sys.c:1: warning: no structured comments found
   drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found
   drivers/dma-buf/reservation.c:1: warning: no structured comments found
   include/linux/reservation.h:1: warning: no structured comments found
   include/linux/spi/spi.h:540: warning: No description found for parameter 'max_transfer_size'

vim +/dwork +833 kernel/kthread.c

   817	 *	after a delay.
   818	 * @worker: target kthread_worker
   819	 * @work: kthread_work to queue
   820	 * delay: number of jiffies to wait before queuing
   821	 *
   822	 * If the work has not been pending it starts a timer that will queue
   823	 * the work after the given @delay. If @delay is zero, it queues the
   824	 * work immediately.
   825	 *
   826	 * Return: %false if the @work has already been pending. It means that
   827	 * either the timer was running or the work was queued. It returns %true
   828	 * otherwise.
   829	 */
   830	bool queue_delayed_kthread_work(struct kthread_worker *worker,
   831					struct delayed_kthread_work *dwork,
   832					unsigned long delay)
 > 833	{
   834		struct kthread_work *work = &dwork->work;
   835		unsigned long flags;
   836		bool ret = false;
   837	
   838		spin_lock_irqsave(&worker->lock, flags);
   839	
   840		if (list_empty(&work->node)) {
   841			__queue_delayed_kthread_work(worker, dwork, delay);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux