All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jan Kara <jack@suse.cz>
Cc: oe-kbuild-all@lists.linux.dev,
	Christian Brauner <christianvanbrauner@gmail.com>,
	Christian Brauner <brauner@kernel.org>
Subject: [brauner-vfs:vfs.super 18/30] kernel/power/swap.c:1573: warning: Excess function parameter 'exclusive' description in 'swsusp_close'
Date: Thu, 28 Sep 2023 03:55:28 +0800	[thread overview]
Message-ID: <202309280353.C3M5Aidp-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-09-27 19:56 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=202309280353.C3M5Aidp-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=brauner@kernel.org \
    --cc=christianvanbrauner@gmail.com \
    --cc=jack@suse.cz \
    --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.