* [android-common:android12-kiwi-5.10 278/278] kernel/power/swap.c:645: warning: Function parameter or member 'data' not described in 'compress_threadfn'
@ 2026-09-03 7:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-03 7:23 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-03 7:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-03 7:23 [android-common:android12-kiwi-5.10 278/278] kernel/power/swap.c:645: warning: Function parameter or member 'data' not described in 'compress_threadfn' kernel test robot
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.