* [brauner-vfs:vfs.super 18/30] kernel/power/swap.c:1573: warning: Excess function parameter 'exclusive' description in 'swsusp_close'
@ 2023-09-27 19:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-27 19:55 UTC (permalink / raw)
To: Jan Kara; +Cc: oe-kbuild-all, Christian Brauner, Christian Brauner
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.super
head: 953863a5a2ff126582a21068485dbf7d8ae1d6dc
commit: b589a66e368838a00e827a62cfff6aac1621de32 [18/30] PM: hibernate: Drop unused snapshot_test argument
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20230928/202309280353.C3M5Aidp-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230928/202309280353.C3M5Aidp-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/202309280353.C3M5Aidp-lkp@intel.com/
All warnings (new ones prefixed by >>):
kernel/power/swap.c:544: warning: Function parameter or member 'handle' not described in 'save_image'
kernel/power/swap.c:544: warning: Function parameter or member 'snapshot' not described in 'save_image'
kernel/power/swap.c:544: warning: Function parameter or member 'nr_to_write' not described in 'save_image'
kernel/power/swap.c:891: warning: Function parameter or member 'nr_pages' not described in 'enough_swap'
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:1573: warning: Excess function parameter 'exclusive' description in 'swsusp_close'
vim +1573 kernel/power/swap.c
61159a314bca64 Rafael J. Wysocki 2006-03-23 1566
61159a314bca64 Rafael J. Wysocki 2006-03-23 1567 /**
61159a314bca64 Rafael J. Wysocki 2006-03-23 1568 * swsusp_close - close swap device.
40d84e198b0ae6 Chen Yu 2023-09-06 1569 * @exclusive: Close the resume device which is exclusively opened.
61159a314bca64 Rafael J. Wysocki 2006-03-23 1570 */
61159a314bca64 Rafael J. Wysocki 2006-03-23 1571
b589a66e368838 Jan Kara 2023-09-27 1572 void swsusp_close(void)
61159a314bca64 Rafael J. Wysocki 2006-03-23 @1573 {
105ea4a2fd1848 Jan Kara 2023-09-27 1574 if (IS_ERR(hib_resume_bdev_handle)) {
64ec72a1ece37d Joe Perches 2017-09-27 1575 pr_debug("Image device not initialised\n");
61159a314bca64 Rafael J. Wysocki 2006-03-23 1576 return;
61159a314bca64 Rafael J. Wysocki 2006-03-23 1577 }
61159a314bca64 Rafael J. Wysocki 2006-03-23 1578
105ea4a2fd1848 Jan Kara 2023-09-27 1579 bdev_release(hib_resume_bdev_handle);
61159a314bca64 Rafael J. Wysocki 2006-03-23 1580 }
1b29c1643c0d82 Vivek Goyal 2007-05-02 1581
:::::: The code at line 1573 was first introduced by commit
:::::: 61159a314bca6408320c3173c1282c64f5cdaa76 [PATCH] swsusp: separate swap-writing/reading code
:::::: TO: Rafael J. Wysocki <rjw@sisk.pl>
:::::: CC: Linus Torvalds <torvalds@g5.osdl.org>
--
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-09-27 19:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-27 19:55 [brauner-vfs:vfs.super 18/30] kernel/power/swap.c:1573: warning: Excess function parameter 'exclusive' description in 'swsusp_close' 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.