llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [gfs2:for-later 27/30] kernel/kthread.c:738: warning: Function parameter or member 'k' not described in 'kthread_stop_put'
@ 2023-08-29 10:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-29 10:19 UTC (permalink / raw)
  To: Andreas Gruenbacher; +Cc: llvm, oe-kbuild-all, cluster-devel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-later
head:   b10d94a0cbfc4bbfdf6dcdaa966fb4f17eee08f1
commit: d3a19da72d2ef3e8f1d756b9f859a93ef84c3078 [27/30] kthread: Add kthread_stop_put
config: i386-buildonly-randconfig-001-20230829 (https://download.01.org/0day-ci/archive/20230829/202308291833.73wBCBdr-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230829/202308291833.73wBCBdr-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/202308291833.73wBCBdr-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> kernel/kthread.c:738: warning: Function parameter or member 'k' not described in 'kthread_stop_put'


vim +738 kernel/kthread.c

   721	
   722	/**
   723	 * kthread_stop_put - stop a thread and put its task struct
   724	 *
   725	 * Stops a kthread and put its task_struct.  This is meant for callers
   726	 * holding an extra reference on the task struct obtained by something
   727	 * like:
   728	 *
   729	 *   t = kthread_create(...);
   730	 *   if (!IS_ERR(t)) {
   731	 *     get_task_struct(t);
   732	 *     wake_up_process(t)
   733	 *   }
   734	 *
   735	 * Returns the result of kthread_stop().
   736	 */
   737	int kthread_stop_put(struct task_struct *k)
 > 738	{
   739		int ret;
   740	
   741		ret = kthread_stop(k);
   742		put_task_struct(k);
   743		return ret;
   744	}
   745	EXPORT_SYMBOL(kthread_stop_put);
   746	

-- 
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:[~2023-08-29 10:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29 10:19 [gfs2:for-later 27/30] kernel/kthread.c:738: warning: Function parameter or member 'k' not described in 'kthread_stop_put' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).