[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201602230028.qy3AtO8V%fengguang.wu@intel.com>
Date: Tue, 23 Feb 2016 00:06:50 +0800
From: kbuild test robot <lkp@...el.com>
To: Petr Mladek <pmladek@...e.com>
Cc: kbuild-all@...org, Andrew Morton <akpm@...ux-foundation.org>,
Oleg Nesterov <oleg@...hat.com>, Tejun Heo <tj@...nel.org>,
Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Steven Rostedt <rostedt@...dmis.org>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Josh Triplett <josh@...htriplett.org>,
Thomas Gleixner <tglx@...utronix.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Jiri Kosina <jkosina@...e.cz>, Borislav Petkov <bp@...e.de>,
Michal Hocko <mhocko@...e.cz>, linux-mm@...ck.org,
Vlastimil Babka <vbabka@...e.cz>, linux-api@...r.kernel.org,
linux-kernel@...r.kernel.org, Petr Mladek <pmladek@...e.com>
Subject: Re: [PATCH v5 07/20] kthread: Initial support for delayed kthread
work
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
Download attachment ".config.gz" of type "application/octet-stream" (6229 bytes)
Powered by blists - more mailing lists