Re: [PATCH v5 10/20] kthread: Better support freezable kthread workers

[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:671: warning: No description found for parameter 'flags'
   kernel/kthread.c:700: warning: No description found for parameter 'flags'
   kernel/kthread.c:866: warning: No description found for parameter 'dwork'
   kernel/kthread.c:866: warning: No description found for parameter 'delay'
   kernel/kthread.c:866: warning: Excess function parameter 'work' description in 'queue_delayed_kthread_work'
   kernel/kthread.c:1063: warning: bad line: 
   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 +/flags +671 kernel/kthread.c

bf63ca4b Petr Mladek 2016-02-22  655  
bf63ca4b Petr Mladek 2016-02-22  656  fail_task:
bf63ca4b Petr Mladek 2016-02-22  657  	kfree(worker);
bf63ca4b Petr Mladek 2016-02-22  658  	return ERR_CAST(task);
bf63ca4b Petr Mladek 2016-02-22  659  }
bf63ca4b Petr Mladek 2016-02-22  660  
bf63ca4b Petr Mladek 2016-02-22  661  /**
bf63ca4b Petr Mladek 2016-02-22  662   * create_kthread_worker - create a kthread worker
bf63ca4b Petr Mladek 2016-02-22  663   * @namefmt: printf-style name for the kthread worker (task).
bf63ca4b Petr Mladek 2016-02-22  664   *
bf63ca4b Petr Mladek 2016-02-22  665   * Returns a pointer to the allocated worker on success, ERR_PTR(-ENOMEM)
bf63ca4b Petr Mladek 2016-02-22  666   * when the needed structures could not get allocated, and ERR_PTR(-EINTR)
bf63ca4b Petr Mladek 2016-02-22  667   * when the worker was SIGKILLed.
bf63ca4b Petr Mladek 2016-02-22  668   */
bf63ca4b Petr Mladek 2016-02-22  669  struct kthread_worker *
28590586 Petr Mladek 2016-02-22  670  create_kthread_worker(unsigned int flags, const char namefmt[], ...)
bf63ca4b Petr Mladek 2016-02-22 @671  {
bf63ca4b Petr Mladek 2016-02-22  672  	struct kthread_worker *worker;
bf63ca4b Petr Mladek 2016-02-22  673  	va_list args;
bf63ca4b Petr Mladek 2016-02-22  674  
bf63ca4b Petr Mladek 2016-02-22  675  	va_start(args, namefmt);
28590586 Petr Mladek 2016-02-22  676  	worker = __create_kthread_worker(-1, flags, namefmt, args);
bf63ca4b Petr Mladek 2016-02-22  677  	va_end(args);
bf63ca4b Petr Mladek 2016-02-22  678  
bf63ca4b Petr Mladek 2016-02-22  679  	return worker;

:::::: The code at line 671 was first introduced by commit
:::::: bf63ca4b5dec706d4b88418b06ccdc1a754b25e4 kthread: Add create_kthread_worker*()

:::::: TO: Petr Mladek <pmladek@xxxxxxxx>
:::::: CC: 0day robot <fengguang.wu@xxxxxxxxx>

---
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 ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]