From: kernel test robot <lkp@intel.com>
To: Andreas Gruenbacher <agruenba@redhat.com>
Cc: cluster-devel@redhat.com, llvm@lists.linux.dev,
oe-kbuild-all@lists.linux.dev
Subject: [Cluster-devel] [gfs2:for-later 27/30] kernel/kthread.c:738: warning: Function parameter or member 'k' not described in 'kthread_stop_put'
Date: Tue, 29 Aug 2023 18:19:07 +0800 [thread overview]
Message-ID: <202308291833.73wBCBdr-lkp@intel.com> (raw)
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
reply other threads:[~2023-08-29 10:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202308291833.73wBCBdr-lkp@intel.com \
--to=lkp@intel.com \
--cc=agruenba@redhat.com \
--cc=cluster-devel@redhat.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).