2023-12-05 05:53:57

by kernel test robot

[permalink] [raw]
Subject: fs/nilfs2/btree.c:1863: warning: No description found for parameter 'btree'

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bee0e7762ad2c6025b9f5245c040fcc36ef2bde8
commit: 4efca4ed05cbdfd13ec3e8cb623fb77d6e4ab187 kbuild: modversions for EXPORT_SYMBOL() for asm
date: 7 years ago
config: i386-buildonly-randconfig-005-20231120 (https://download.01.org/0day-ci/archive/20231205/[email protected]/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'btree'
>> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'key'
>> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'ptr'
>> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'keys'
>> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'ptrs'
>> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'n'
--
arch/x86/include/asm/bitops.h: Assembler messages:
arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
>> fs/nilfs2/btnode.c:167: warning: No description found for parameter 'btnc'
>> fs/nilfs2/btnode.c:167: warning: No description found for parameter 'ctxt'
fs/nilfs2/btnode.c:237: warning: No description found for parameter 'btnc'
fs/nilfs2/btnode.c:237: warning: No description found for parameter 'ctxt'
fs/nilfs2/btnode.c:278: warning: No description found for parameter 'btnc'
fs/nilfs2/btnode.c:278: warning: No description found for parameter 'ctxt'
--
>> fs/nilfs2/recovery.c:580: warning: No description found for parameter 'root'
--
>> fs/nilfs2/sufile.c:575: warning: No description found for parameter 'sustat'
fs/nilfs2/sufile.c:575: warning: Excess function parameter 'stat' description in 'nilfs_sufile_get_stat'
--
>> fs/nilfs2/bmap.c:387: warning: No description found for parameter 'bh'
fs/nilfs2/bmap.c:387: warning: Excess function parameter 'bhp' description in 'nilfs_bmap_assign'
--
arch/x86/include/asm/bitops.h: Assembler messages:
arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
>> fs/nilfs2/ioctl.c:128: warning: No description found for parameter 'inode'
>> fs/nilfs2/ioctl.c:128: warning: No description found for parameter 'argp'
fs/nilfs2/ioctl.c:139: warning: No description found for parameter 'inode'
>> fs/nilfs2/ioctl.c:139: warning: No description found for parameter 'filp'
fs/nilfs2/ioctl.c:139: warning: No description found for parameter 'argp'
fs/nilfs2/ioctl.c:193: warning: No description found for parameter 'inode'
fs/nilfs2/ioctl.c:193: warning: No description found for parameter 'argp'
--
>> fs/nilfs2/super.c:124: warning: No description found for parameter 'sb'
>> fs/nilfs2/super.c:124: warning: No description found for parameter 'function'
>> fs/nilfs2/super.c:124: warning: No description found for parameter 'fmt'
--
arch/x86/include/asm/bitops.h: Assembler messages:
arch/x86/include/asm/bitops.h:257: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
>> fs/nilfs2/inode.c:81: warning: No description found for parameter 'inode'
>> fs/nilfs2/inode.c:81: warning: No description found for parameter 'blkoff'
>> fs/nilfs2/inode.c:81: warning: No description found for parameter 'bh_result'
>> fs/nilfs2/inode.c:81: warning: No description found for parameter 'create'
>> fs/nilfs2/inode.c:153: warning: No description found for parameter 'file'
>> fs/nilfs2/inode.c:153: warning: No description found for parameter 'page'
fs/nilfs2/inode.c:167: warning: No description found for parameter 'file'
>> fs/nilfs2/inode.c:167: warning: No description found for parameter 'mapping'
>> fs/nilfs2/inode.c:167: warning: No description found for parameter 'pages'
>> fs/nilfs2/inode.c:167: warning: No description found for parameter 'nr_pages'
>> fs/nilfs2/inode.c:985: warning: No description found for parameter 'flags'
--
>> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'cpfile'
>> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'cnop'
>> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'mode'
>> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'buf'
>> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'cisz'
>> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'nci'
fs/nilfs2/cpfile.c:590: warning: No description found for parameter 'cpfile'
>> fs/nilfs2/cpfile.c:590: warning: No description found for parameter 'cno'
fs/nilfs2/cpfile.c:916: warning: No description found for parameter 'mode'
fs/nilfs2/cpfile.c:916: warning: Excess function parameter 'status' description in 'nilfs_cpfile_change_cpmode'
>> fs/nilfs2/cpfile.c:955: warning: No description found for parameter 'cpstat'
fs/nilfs2/cpfile.c:955: warning: Excess function parameter 'stat' description in 'nilfs_cpfile_get_stat'
--
arch/x86/include/asm/bitops.h: Assembler messages:
arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
>> fs/nilfs2/gcinode.c:189: warning: No description found for parameter 'nilfs'
--
>> drivers/iio/dac/ad7303.c:50: warning: No description found for parameter 'vdd_reg'
>> drivers/iio/dac/ad7303.c:50: warning: No description found for parameter 'vref_reg'
>> drivers/iio/dac/ad7303.c:50: warning: No description found for parameter '____cacheline_aligned'
>> drivers/iio/dac/ad7303.c:50: warning: Excess struct/union/enum/typedef member 'data' description in 'ad7303_state'
..


vim +/btree +1863 fs/nilfs2/btree.c

17c76b0104e4a6 Koji Sato 2009-04-06 1850
17c76b0104e4a6 Koji Sato 2009-04-06 1851 /**
17c76b0104e4a6 Koji Sato 2009-04-06 1852 * nilfs_btree_convert_and_insert -
17c76b0104e4a6 Koji Sato 2009-04-06 1853 * @bmap:
17c76b0104e4a6 Koji Sato 2009-04-06 1854 * @key:
17c76b0104e4a6 Koji Sato 2009-04-06 1855 * @ptr:
17c76b0104e4a6 Koji Sato 2009-04-06 1856 * @keys:
17c76b0104e4a6 Koji Sato 2009-04-06 1857 * @ptrs:
17c76b0104e4a6 Koji Sato 2009-04-06 1858 * @n:
17c76b0104e4a6 Koji Sato 2009-04-06 1859 */
e7c274f8083793 Ryusuke Konishi 2010-07-10 1860 int nilfs_btree_convert_and_insert(struct nilfs_bmap *btree,
17c76b0104e4a6 Koji Sato 2009-04-06 1861 __u64 key, __u64 ptr,
3033342a0b7604 Ryusuke Konishi 2009-05-24 1862 const __u64 *keys, const __u64 *ptrs, int n)
17c76b0104e4a6 Koji Sato 2009-04-06 @1863 {
4f05028f8d1af7 Ryusuke Konishi 2015-11-06 1864 struct buffer_head *bh = NULL;
17c76b0104e4a6 Koji Sato 2009-04-06 1865 union nilfs_bmap_ptr_req dreq, nreq, *di, *ni;
17c76b0104e4a6 Koji Sato 2009-04-06 1866 struct nilfs_bmap_stats stats;
17c76b0104e4a6 Koji Sato 2009-04-06 1867 int ret;
17c76b0104e4a6 Koji Sato 2009-04-06 1868
17c76b0104e4a6 Koji Sato 2009-04-06 1869 if (n + 1 <= NILFS_BTREE_ROOT_NCHILDREN_MAX) {
17c76b0104e4a6 Koji Sato 2009-04-06 1870 di = &dreq;
17c76b0104e4a6 Koji Sato 2009-04-06 1871 ni = NULL;
17c76b0104e4a6 Koji Sato 2009-04-06 1872 } else if ((n + 1) <= NILFS_BTREE_NODE_NCHILDREN_MAX(
e7c274f8083793 Ryusuke Konishi 2010-07-10 1873 1 << btree->b_inode->i_blkbits)) {
17c76b0104e4a6 Koji Sato 2009-04-06 1874 di = &dreq;
17c76b0104e4a6 Koji Sato 2009-04-06 1875 ni = &nreq;
17c76b0104e4a6 Koji Sato 2009-04-06 1876 } else {
17c76b0104e4a6 Koji Sato 2009-04-06 1877 di = NULL;
17c76b0104e4a6 Koji Sato 2009-04-06 1878 ni = NULL;
17c76b0104e4a6 Koji Sato 2009-04-06 1879 BUG();
17c76b0104e4a6 Koji Sato 2009-04-06 1880 }
17c76b0104e4a6 Koji Sato 2009-04-06 1881
e7c274f8083793 Ryusuke Konishi 2010-07-10 1882 ret = nilfs_btree_prepare_convert_and_insert(btree, key, di, ni, &bh,
17c76b0104e4a6 Koji Sato 2009-04-06 1883 &stats);
17c76b0104e4a6 Koji Sato 2009-04-06 1884 if (ret < 0)
17c76b0104e4a6 Koji Sato 2009-04-06 1885 return ret;
e7c274f8083793 Ryusuke Konishi 2010-07-10 1886 nilfs_btree_commit_convert_and_insert(btree, key, ptr, keys, ptrs, n,
3033342a0b7604 Ryusuke Konishi 2009-05-24 1887 di, ni, bh);
be667377a8b8cd Ryusuke Konishi 2011-03-05 1888 nilfs_inode_add_blocks(btree->b_inode, stats.bs_nblocks);
17c76b0104e4a6 Koji Sato 2009-04-06 1889 return 0;
17c76b0104e4a6 Koji Sato 2009-04-06 1890 }
17c76b0104e4a6 Koji Sato 2009-04-06 1891

:::::: The code at line 1863 was first introduced by commit
:::::: 17c76b0104e4a6513983777e1a17e0297a12b0c4 nilfs2: B-tree based block mapping

:::::: TO: Koji Sato <[email protected]>
:::::: CC: Linus Torvalds <[email protected]>

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


2023-12-05 06:02:22

by Philip Li

[permalink] [raw]
Subject: Re: fs/nilfs2/btree.c:1863: warning: No description found for parameter 'btree'

On Tue, Dec 05, 2023 at 01:53:10PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: bee0e7762ad2c6025b9f5245c040fcc36ef2bde8
> commit: 4efca4ed05cbdfd13ec3e8cb623fb77d6e4ab187 kbuild: modversions for EXPORT_SYMBOL() for asm
> date: 7 years ago
> config: i386-buildonly-randconfig-005-20231120 (https://download.01.org/0day-ci/archive/20231205/[email protected]/config)
> compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231205/[email protected]/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of

Kindly ignore this report, the found commit is not related to the warnings.
Sorry about the false report.

> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <[email protected]>
> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
>
> All warnings (new ones prefixed by >>):
>
> >> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'btree'
> >> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'key'
> >> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'ptr'
> >> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'keys'
> >> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'ptrs'
> >> fs/nilfs2/btree.c:1863: warning: No description found for parameter 'n'
> --
> arch/x86/include/asm/bitops.h: Assembler messages:
> arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
> arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
> arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
> arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
> >> fs/nilfs2/btnode.c:167: warning: No description found for parameter 'btnc'
> >> fs/nilfs2/btnode.c:167: warning: No description found for parameter 'ctxt'
> fs/nilfs2/btnode.c:237: warning: No description found for parameter 'btnc'
> fs/nilfs2/btnode.c:237: warning: No description found for parameter 'ctxt'
> fs/nilfs2/btnode.c:278: warning: No description found for parameter 'btnc'
> fs/nilfs2/btnode.c:278: warning: No description found for parameter 'ctxt'
> --
> >> fs/nilfs2/recovery.c:580: warning: No description found for parameter 'root'
> --
> >> fs/nilfs2/sufile.c:575: warning: No description found for parameter 'sustat'
> fs/nilfs2/sufile.c:575: warning: Excess function parameter 'stat' description in 'nilfs_sufile_get_stat'
> --
> >> fs/nilfs2/bmap.c:387: warning: No description found for parameter 'bh'
> fs/nilfs2/bmap.c:387: warning: Excess function parameter 'bhp' description in 'nilfs_bmap_assign'
> --
> arch/x86/include/asm/bitops.h: Assembler messages:
> arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
> >> fs/nilfs2/ioctl.c:128: warning: No description found for parameter 'inode'
> >> fs/nilfs2/ioctl.c:128: warning: No description found for parameter 'argp'
> fs/nilfs2/ioctl.c:139: warning: No description found for parameter 'inode'
> >> fs/nilfs2/ioctl.c:139: warning: No description found for parameter 'filp'
> fs/nilfs2/ioctl.c:139: warning: No description found for parameter 'argp'
> fs/nilfs2/ioctl.c:193: warning: No description found for parameter 'inode'
> fs/nilfs2/ioctl.c:193: warning: No description found for parameter 'argp'
> --
> >> fs/nilfs2/super.c:124: warning: No description found for parameter 'sb'
> >> fs/nilfs2/super.c:124: warning: No description found for parameter 'function'
> >> fs/nilfs2/super.c:124: warning: No description found for parameter 'fmt'
> --
> arch/x86/include/asm/bitops.h: Assembler messages:
> arch/x86/include/asm/bitops.h:257: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
> arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
> >> fs/nilfs2/inode.c:81: warning: No description found for parameter 'inode'
> >> fs/nilfs2/inode.c:81: warning: No description found for parameter 'blkoff'
> >> fs/nilfs2/inode.c:81: warning: No description found for parameter 'bh_result'
> >> fs/nilfs2/inode.c:81: warning: No description found for parameter 'create'
> >> fs/nilfs2/inode.c:153: warning: No description found for parameter 'file'
> >> fs/nilfs2/inode.c:153: warning: No description found for parameter 'page'
> fs/nilfs2/inode.c:167: warning: No description found for parameter 'file'
> >> fs/nilfs2/inode.c:167: warning: No description found for parameter 'mapping'
> >> fs/nilfs2/inode.c:167: warning: No description found for parameter 'pages'
> >> fs/nilfs2/inode.c:167: warning: No description found for parameter 'nr_pages'
> >> fs/nilfs2/inode.c:985: warning: No description found for parameter 'flags'
> --
> >> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'cpfile'
> >> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'cnop'
> >> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'mode'
> >> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'buf'
> >> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'cisz'
> >> fs/nilfs2/cpfile.c:573: warning: No description found for parameter 'nci'
> fs/nilfs2/cpfile.c:590: warning: No description found for parameter 'cpfile'
> >> fs/nilfs2/cpfile.c:590: warning: No description found for parameter 'cno'
> fs/nilfs2/cpfile.c:916: warning: No description found for parameter 'mode'
> fs/nilfs2/cpfile.c:916: warning: Excess function parameter 'status' description in 'nilfs_cpfile_change_cpmode'
> >> fs/nilfs2/cpfile.c:955: warning: No description found for parameter 'cpstat'
> fs/nilfs2/cpfile.c:955: warning: Excess function parameter 'stat' description in 'nilfs_cpfile_get_stat'
> --
> arch/x86/include/asm/bitops.h: Assembler messages:
> arch/x86/include/asm/bitops.h:211: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
> >> fs/nilfs2/gcinode.c:189: warning: No description found for parameter 'nilfs'
> --
> >> drivers/iio/dac/ad7303.c:50: warning: No description found for parameter 'vdd_reg'
> >> drivers/iio/dac/ad7303.c:50: warning: No description found for parameter 'vref_reg'
> >> drivers/iio/dac/ad7303.c:50: warning: No description found for parameter '____cacheline_aligned'
> >> drivers/iio/dac/ad7303.c:50: warning: Excess struct/union/enum/typedef member 'data' description in 'ad7303_state'
> ..
>
>
> vim +/btree +1863 fs/nilfs2/btree.c
>
> 17c76b0104e4a6 Koji Sato 2009-04-06 1850
> 17c76b0104e4a6 Koji Sato 2009-04-06 1851 /**
> 17c76b0104e4a6 Koji Sato 2009-04-06 1852 * nilfs_btree_convert_and_insert -
> 17c76b0104e4a6 Koji Sato 2009-04-06 1853 * @bmap:
> 17c76b0104e4a6 Koji Sato 2009-04-06 1854 * @key:
> 17c76b0104e4a6 Koji Sato 2009-04-06 1855 * @ptr:
> 17c76b0104e4a6 Koji Sato 2009-04-06 1856 * @keys:
> 17c76b0104e4a6 Koji Sato 2009-04-06 1857 * @ptrs:
> 17c76b0104e4a6 Koji Sato 2009-04-06 1858 * @n:
> 17c76b0104e4a6 Koji Sato 2009-04-06 1859 */
> e7c274f8083793 Ryusuke Konishi 2010-07-10 1860 int nilfs_btree_convert_and_insert(struct nilfs_bmap *btree,
> 17c76b0104e4a6 Koji Sato 2009-04-06 1861 __u64 key, __u64 ptr,
> 3033342a0b7604 Ryusuke Konishi 2009-05-24 1862 const __u64 *keys, const __u64 *ptrs, int n)
> 17c76b0104e4a6 Koji Sato 2009-04-06 @1863 {
> 4f05028f8d1af7 Ryusuke Konishi 2015-11-06 1864 struct buffer_head *bh = NULL;
> 17c76b0104e4a6 Koji Sato 2009-04-06 1865 union nilfs_bmap_ptr_req dreq, nreq, *di, *ni;
> 17c76b0104e4a6 Koji Sato 2009-04-06 1866 struct nilfs_bmap_stats stats;
> 17c76b0104e4a6 Koji Sato 2009-04-06 1867 int ret;
> 17c76b0104e4a6 Koji Sato 2009-04-06 1868
> 17c76b0104e4a6 Koji Sato 2009-04-06 1869 if (n + 1 <= NILFS_BTREE_ROOT_NCHILDREN_MAX) {
> 17c76b0104e4a6 Koji Sato 2009-04-06 1870 di = &dreq;
> 17c76b0104e4a6 Koji Sato 2009-04-06 1871 ni = NULL;
> 17c76b0104e4a6 Koji Sato 2009-04-06 1872 } else if ((n + 1) <= NILFS_BTREE_NODE_NCHILDREN_MAX(
> e7c274f8083793 Ryusuke Konishi 2010-07-10 1873 1 << btree->b_inode->i_blkbits)) {
> 17c76b0104e4a6 Koji Sato 2009-04-06 1874 di = &dreq;
> 17c76b0104e4a6 Koji Sato 2009-04-06 1875 ni = &nreq;
> 17c76b0104e4a6 Koji Sato 2009-04-06 1876 } else {
> 17c76b0104e4a6 Koji Sato 2009-04-06 1877 di = NULL;
> 17c76b0104e4a6 Koji Sato 2009-04-06 1878 ni = NULL;
> 17c76b0104e4a6 Koji Sato 2009-04-06 1879 BUG();
> 17c76b0104e4a6 Koji Sato 2009-04-06 1880 }
> 17c76b0104e4a6 Koji Sato 2009-04-06 1881
> e7c274f8083793 Ryusuke Konishi 2010-07-10 1882 ret = nilfs_btree_prepare_convert_and_insert(btree, key, di, ni, &bh,
> 17c76b0104e4a6 Koji Sato 2009-04-06 1883 &stats);
> 17c76b0104e4a6 Koji Sato 2009-04-06 1884 if (ret < 0)
> 17c76b0104e4a6 Koji Sato 2009-04-06 1885 return ret;
> e7c274f8083793 Ryusuke Konishi 2010-07-10 1886 nilfs_btree_commit_convert_and_insert(btree, key, ptr, keys, ptrs, n,
> 3033342a0b7604 Ryusuke Konishi 2009-05-24 1887 di, ni, bh);
> be667377a8b8cd Ryusuke Konishi 2011-03-05 1888 nilfs_inode_add_blocks(btree->b_inode, stats.bs_nblocks);
> 17c76b0104e4a6 Koji Sato 2009-04-06 1889 return 0;
> 17c76b0104e4a6 Koji Sato 2009-04-06 1890 }
> 17c76b0104e4a6 Koji Sato 2009-04-06 1891
>
> :::::: The code at line 1863 was first introduced by commit
> :::::: 17c76b0104e4a6513983777e1a17e0297a12b0c4 nilfs2: B-tree based block mapping
>
> :::::: TO: Koji Sato <[email protected]>
> :::::: CC: Linus Torvalds <[email protected]>
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki