fs/9p/fid.c:30: warning: expecting prototype for v9fs_fid_add(). Prototype was for __add_fid() instead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: 52042e2db45290f6a512d525518488b7bf143531 scripts: kernel-doc: validate kernel-doc markup with the actual names
date:   8 months ago
config: parisc-randconfig-r013-20210927 (attached as .config)
compiler: hppa-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=52042e2db45290f6a512d525518488b7bf143531
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 52042e2db45290f6a512d525518488b7bf143531
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=parisc SHELL=/bin/bash drivers/most/ drivers/mtd/nand/raw/ drivers/thunderbolt/ fs/9p/ kernel/sched/ lib/zstd/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> fs/9p/fid.c:30: warning: expecting prototype for v9fs_fid_add(). Prototype was for __add_fid() instead
   fs/9p/fid.c:76: warning: Function parameter or member 'inode' not described in 'v9fs_open_fid_add'
   fs/9p/fid.c:76: warning: Excess function parameter 'dentry' description in 'v9fs_open_fid_add'
--
   fs/9p/vfs_inode.c:224: warning: Function parameter or member 'sb' not described in 'v9fs_alloc_inode'
   fs/9p/vfs_inode.c:245: warning: Function parameter or member 'inode' not described in 'v9fs_free_inode'
   fs/9p/vfs_inode.c:350: warning: Function parameter or member 'rdev' not described in 'v9fs_get_inode'
>> fs/9p/vfs_inode.c:377: warning: expecting prototype for v9fs_clear_inode(). Prototype was for v9fs_evict_inode() instead
   fs/9p/vfs_inode.c:681: warning: Function parameter or member 'excl' not described in 'v9fs_vfs_create'
   fs/9p/vfs_inode.c:913: warning: Function parameter or member 'flags' not described in 'v9fs_vfs_rename'
--
   fs/9p/vfs_file.c:385: warning: Function parameter or member 'iocb' not described in 'v9fs_file_read_iter'
   fs/9p/vfs_file.c:385: warning: Function parameter or member 'to' not described in 'v9fs_file_read_iter'
>> fs/9p/vfs_file.c:385: warning: expecting prototype for v9fs_file_read(). Prototype was for v9fs_file_read_iter() instead
   fs/9p/vfs_file.c:413: warning: Function parameter or member 'iocb' not described in 'v9fs_file_write_iter'
   fs/9p/vfs_file.c:413: warning: Function parameter or member 'from' not described in 'v9fs_file_write_iter'
>> fs/9p/vfs_file.c:413: warning: expecting prototype for v9fs_file_write(). Prototype was for v9fs_file_write_iter() instead
   fs/9p/vfs_file.c:586: warning: Function parameter or member 'iocb' not described in 'v9fs_mmap_file_read_iter'
   fs/9p/vfs_file.c:586: warning: Function parameter or member 'to' not described in 'v9fs_mmap_file_read_iter'
>> fs/9p/vfs_file.c:586: warning: expecting prototype for v9fs_mmap_file_read(). Prototype was for v9fs_mmap_file_read_iter() instead
   fs/9p/vfs_file.c:601: warning: Function parameter or member 'iocb' not described in 'v9fs_mmap_file_write_iter'
   fs/9p/vfs_file.c:601: warning: Function parameter or member 'from' not described in 'v9fs_mmap_file_write_iter'
>> fs/9p/vfs_file.c:601: warning: expecting prototype for v9fs_mmap_file_write(). Prototype was for v9fs_mmap_file_write_iter() instead
--
   drivers/thunderbolt/ctl.c:38: warning: expecting prototype for struct tb_cfg. Prototype was for struct tb_ctl instead
   drivers/thunderbolt/ctl.c:350: warning: Function parameter or member 'ctl' not described in 'tb_ctl_tx'
   drivers/thunderbolt/ctl.c:350: warning: Function parameter or member 'data' not described in 'tb_ctl_tx'
   drivers/thunderbolt/ctl.c:350: warning: Function parameter or member 'len' not described in 'tb_ctl_tx'
   drivers/thunderbolt/ctl.c:350: warning: Function parameter or member 'type' not described in 'tb_ctl_tx'
   drivers/thunderbolt/ctl.c:350: warning: expecting prototype for tb_cfg_tx(). Prototype was for tb_ctl_tx() instead
   drivers/thunderbolt/ctl.c:383: warning: Function parameter or member 'ctl' not described in 'tb_ctl_handle_event'
   drivers/thunderbolt/ctl.c:383: warning: Function parameter or member 'type' not described in 'tb_ctl_handle_event'
   drivers/thunderbolt/ctl.c:383: warning: Function parameter or member 'pkg' not described in 'tb_ctl_handle_event'
   drivers/thunderbolt/ctl.c:383: warning: Function parameter or member 'size' not described in 'tb_ctl_handle_event'
   drivers/thunderbolt/ctl.c:611: warning: Function parameter or member 'nhi' not described in 'tb_ctl_alloc'
   drivers/thunderbolt/ctl.c:611: warning: Function parameter or member 'cb' not described in 'tb_ctl_alloc'
   drivers/thunderbolt/ctl.c:611: warning: Function parameter or member 'cb_data' not described in 'tb_ctl_alloc'
   drivers/thunderbolt/ctl.c:658: warning: Function parameter or member 'ctl' not described in 'tb_ctl_free'
   drivers/thunderbolt/ctl.c:682: warning: Function parameter or member 'ctl' not described in 'tb_ctl_start'
>> drivers/thunderbolt/ctl.c:682: warning: expecting prototype for tb_cfg_start(). Prototype was for tb_ctl_start() instead
   drivers/thunderbolt/ctl.c:702: warning: Function parameter or member 'ctl' not described in 'tb_ctl_stop'
   drivers/thunderbolt/ctl.c:702: warning: expecting prototype for control(). Prototype was for tb_ctl_stop() instead
   drivers/thunderbolt/ctl.c:794: warning: Function parameter or member 'ctl' not described in 'tb_cfg_reset'
   drivers/thunderbolt/ctl.c:794: warning: Function parameter or member 'route' not described in 'tb_cfg_reset'
   drivers/thunderbolt/ctl.c:794: warning: Function parameter or member 'timeout_msec' not described in 'tb_cfg_reset'
   drivers/thunderbolt/ctl.c:830: warning: Function parameter or member 'ctl' not described in 'tb_cfg_read_raw'
   drivers/thunderbolt/ctl.c:830: warning: Function parameter or member 'buffer' not described in 'tb_cfg_read_raw'
   drivers/thunderbolt/ctl.c:830: warning: Function parameter or member 'route' not described in 'tb_cfg_read_raw'
   drivers/thunderbolt/ctl.c:830: warning: Function parameter or member 'port' not described in 'tb_cfg_read_raw'
   drivers/thunderbolt/ctl.c:830: warning: Function parameter or member 'space' not described in 'tb_cfg_read_raw'
   drivers/thunderbolt/ctl.c:830: warning: Function parameter or member 'offset' not described in 'tb_cfg_read_raw'
   drivers/thunderbolt/ctl.c:830: warning: Function parameter or member 'length' not described in 'tb_cfg_read_raw'
   drivers/thunderbolt/ctl.c:830: warning: Function parameter or member 'timeout_msec' not described in 'tb_cfg_read_raw'
   drivers/thunderbolt/ctl.c:830: warning: expecting prototype for tb_cfg_read(). Prototype was for tb_cfg_read_raw() instead
   drivers/thunderbolt/ctl.c:893: warning: Function parameter or member 'ctl' not described in 'tb_cfg_write_raw'
   drivers/thunderbolt/ctl.c:893: warning: Function parameter or member 'buffer' not described in 'tb_cfg_write_raw'
   drivers/thunderbolt/ctl.c:893: warning: Function parameter or member 'route' not described in 'tb_cfg_write_raw'
   drivers/thunderbolt/ctl.c:893: warning: Function parameter or member 'port' not described in 'tb_cfg_write_raw'
   drivers/thunderbolt/ctl.c:893: warning: Function parameter or member 'space' not described in 'tb_cfg_write_raw'
   drivers/thunderbolt/ctl.c:893: warning: Function parameter or member 'offset' not described in 'tb_cfg_write_raw'
   drivers/thunderbolt/ctl.c:893: warning: Function parameter or member 'length' not described in 'tb_cfg_write_raw'
   drivers/thunderbolt/ctl.c:893: warning: Function parameter or member 'timeout_msec' not described in 'tb_cfg_write_raw'
>> drivers/thunderbolt/ctl.c:893: warning: expecting prototype for tb_cfg_write(). Prototype was for tb_cfg_write_raw() instead
   drivers/thunderbolt/ctl.c:1033: warning: Function parameter or member 'ctl' not described in 'tb_cfg_get_upstream_port'
   drivers/thunderbolt/ctl.c:1033: warning: Function parameter or member 'route' not described in 'tb_cfg_get_upstream_port'
--
>> drivers/mtd/nand/raw/cafe_nand.c:372: warning: expecting prototype for cafe_nand_read_page_syndrome(). Prototype was for cafe_nand_read_page() instead


vim +30 fs/9p/fid.c

3ed8491c8a75ce Eric Van Hensbergen 2005-09-09  21  
3ed8491c8a75ce Eric Van Hensbergen 2005-09-09  22  /**
ba17674fe02909 Latchesar Ionkov    2007-10-17  23   * v9fs_fid_add - add a fid to a dentry
ba17674fe02909 Latchesar Ionkov    2007-10-17  24   * @dentry: dentry that the fid is being added to
3ed8491c8a75ce Eric Van Hensbergen 2005-09-09  25   * @fid: fid to add
3ed8491c8a75ce Eric Van Hensbergen 2005-09-09  26   *
3ed8491c8a75ce Eric Van Hensbergen 2005-09-09  27   */
3ed8491c8a75ce Eric Van Hensbergen 2005-09-09  28  
5e608671dfbfd6 Al Viro             2013-02-28  29  static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid)
3ed8491c8a75ce Eric Van Hensbergen 2005-09-09 @30  {
5e608671dfbfd6 Al Viro             2013-02-28  31  	hlist_add_head(&fid->dlist, (struct hlist_head *)&dentry->d_fsdata);
3ed8491c8a75ce Eric Van Hensbergen 2005-09-09  32  }
3ed8491c8a75ce Eric Van Hensbergen 2005-09-09  33  

:::::: The code at line 30 was first introduced by commit
:::::: 3ed8491c8a75cefe95b57f7f428a3e2ddd421e97 [PATCH] v9fs: debug and support routines

:::::: TO: Eric Van Hensbergen <ericvh@xxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux