All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android12-kiwi-5.10 278/278] kernel/power/swap.c:645: warning: Function parameter or member 'data' not described in 'compress_threadfn'
Date: Thu, 03 Sep 2026 15:23:45 +0800	[thread overview]
Message-ID: <202609031533.Xz9C8rZL-lkp@intel.com> (raw)

Hi Nikhil,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://android.googlesource.com/kernel/common android12-kiwi-5.10
head:   ae917b3c7332e08006443a49c261aa97ce703103
commit: 31414b7c10febdb2006bacd5de9de2f63785ac58 [278/278] BACKPORT: PM: hibernate: Rename lzo* to make it generic
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260903/202609031533.Xz9C8rZL-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 2c2cffa015e9549aafba9e514384b08204c7cc4b)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260903/202609031533.Xz9C8rZL-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/202609031533.Xz9C8rZL-lkp@intel.com/

All warnings (new ones prefixed by >>):

   kernel/power/swap.c:95: warning: cannot understand function prototype: 'struct swap_map_handle '
   kernel/power/swap.c:122: warning: cannot understand function prototype: 'struct swsusp_extent '
   kernel/power/swap.c:177: warning: Function parameter or member 'swap' not described in 'alloc_swapdev_block'
   kernel/power/swap.c:197: warning: Function parameter or member 'swap' not described in 'free_all_swap_pages'
   kernel/power/swap.c:541: warning: Function parameter or member 'handle' not described in 'save_image'
   kernel/power/swap.c:541: warning: Function parameter or member 'snapshot' not described in 'save_image'
   kernel/power/swap.c:541: warning: Function parameter or member 'nr_to_write' not described in 'save_image'
   kernel/power/swap.c:585: warning: cannot understand function prototype: 'struct crc_data '
   kernel/power/swap.c:601: warning: Function parameter or member 'data' not described in 'crc32_threadfn'
   kernel/power/swap.c:627: warning: cannot understand function prototype: 'struct cmp_data '
>> kernel/power/swap.c:645: warning: Function parameter or member 'data' not described in 'compress_threadfn'
   kernel/power/swap.c:891: warning: Function parameter or member 'nr_pages' not described in 'enough_swap'
   kernel/power/swap.c:958: warning: Function parameter or member 'handle' not described in 'release_swap_reader'
   kernel/power/swap.c:1062: warning: Function parameter or member 'handle' not described in 'load_image'
   kernel/power/swap.c:1062: warning: Function parameter or member 'snapshot' not described in 'load_image'
   kernel/power/swap.c:1062: warning: Function parameter or member 'nr_to_read' not described in 'load_image'
   kernel/power/swap.c:1114: warning: cannot understand function prototype: 'struct dec_data '
>> kernel/power/swap.c:1131: warning: Function parameter or member 'data' not described in 'decompress_threadfn'
   kernel/power/swap.c:1567: warning: Function parameter or member 'mode' not described in 'swsusp_close'


vim +645 kernel/power/swap.c

081a9d043c983f1 Bojan Smojver  2011-10-13  640  
081a9d043c983f1 Bojan Smojver  2011-10-13  641  /**
081a9d043c983f1 Bojan Smojver  2011-10-13  642   * Compression function that runs in its own thread.
081a9d043c983f1 Bojan Smojver  2011-10-13  643   */
31414b7c10febdb Nikhil V       2024-01-22  644  static int compress_threadfn(void *data)
081a9d043c983f1 Bojan Smojver  2011-10-13 @645  {
081a9d043c983f1 Bojan Smojver  2011-10-13  646  	struct cmp_data *d = data;
081a9d043c983f1 Bojan Smojver  2011-10-13  647  
081a9d043c983f1 Bojan Smojver  2011-10-13  648  	while (1) {
981a31b7547af42 Hongchen Zhang 2023-11-16  649  		wait_event(d->go, atomic_read_acquire(&d->ready) ||
081a9d043c983f1 Bojan Smojver  2011-10-13  650  		                  kthread_should_stop());
081a9d043c983f1 Bojan Smojver  2011-10-13  651  		if (kthread_should_stop()) {
081a9d043c983f1 Bojan Smojver  2011-10-13  652  			d->thr = NULL;
081a9d043c983f1 Bojan Smojver  2011-10-13  653  			d->ret = -1;
981a31b7547af42 Hongchen Zhang 2023-11-16  654  			atomic_set_release(&d->stop, 1);
081a9d043c983f1 Bojan Smojver  2011-10-13  655  			wake_up(&d->done);
081a9d043c983f1 Bojan Smojver  2011-10-13  656  			break;
081a9d043c983f1 Bojan Smojver  2011-10-13  657  		}
081a9d043c983f1 Bojan Smojver  2011-10-13  658  		atomic_set(&d->ready, 0);
081a9d043c983f1 Bojan Smojver  2011-10-13  659  
081a9d043c983f1 Bojan Smojver  2011-10-13  660  		d->ret = lzo1x_1_compress(d->unc, d->unc_len,
31414b7c10febdb Nikhil V       2024-01-22  661  					  d->cmp + CMP_HEADER, &d->cmp_len,
081a9d043c983f1 Bojan Smojver  2011-10-13  662  		                          d->wrk);
981a31b7547af42 Hongchen Zhang 2023-11-16  663  		atomic_set_release(&d->stop, 1);
081a9d043c983f1 Bojan Smojver  2011-10-13  664  		wake_up(&d->done);
081a9d043c983f1 Bojan Smojver  2011-10-13  665  	}
081a9d043c983f1 Bojan Smojver  2011-10-13  666  	return 0;
081a9d043c983f1 Bojan Smojver  2011-10-13  667  }
f996fc9671d088b Bojan Smojver  2010-09-09  668  

:::::: The code at line 645 was first introduced by commit
:::::: 081a9d043c983f161b78fdc4671324d1342b86bc PM / Hibernate: Improve performance of LZO/plain hibernation, checksum image

:::::: TO: Bojan Smojver <bojan@rexursive.com>
:::::: CC: Rafael J. Wysocki <rjw@sisk.pl>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-09-03  7:24 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=202609031533.Xz9C8rZL-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.