[xilinx-xlnx:xlnx_rebase_v5.10 1566/1963] drivers/rapidio/rio.c:758: warning: expecting prototype for rio_unmap_inb_region(). Prototype was for rio_unmap_outb_region() instead

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

 



tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head:   9533b527bd9799dc64feddba388e19f0efe27bde
commit: d3328cb2dd0a2fb94a09587105c37299e296d4c6 [1566/1963] scripts: kernel-doc: validate kernel-doc markup with the actual names
config: i386-randconfig-a014-20210929 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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://github.com/Xilinx/linux-xlnx/commit/d3328cb2dd0a2fb94a09587105c37299e296d4c6
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.10
        git checkout d3328cb2dd0a2fb94a09587105c37299e296d4c6
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/rapidio/ drivers/scsi/esas2r/ net/batman-adv/

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

All warnings (new ones prefixed by >>):

>> drivers/rapidio/rio.c:758: warning: expecting prototype for rio_unmap_inb_region(). Prototype was for rio_unmap_outb_region() instead
--
   drivers/scsi/esas2r/esas2r_main.c:911: warning: Function parameter or member 'a' not described in 'esas2r_check_active_queue'
   drivers/scsi/esas2r/esas2r_main.c:911: warning: Function parameter or member 'abort_request' not described in 'esas2r_check_active_queue'
   drivers/scsi/esas2r/esas2r_main.c:911: warning: Function parameter or member 'cmd' not described in 'esas2r_check_active_queue'
   drivers/scsi/esas2r/esas2r_main.c:911: warning: Function parameter or member 'queue' not described in 'esas2r_check_active_queue'
>> drivers/scsi/esas2r/esas2r_main.c:911: warning: expecting prototype for Searches the specified queue for the specified queue for the command(). Prototype was for esas2r_check_active_queue() instead
--
>> net/batman-adv/multicast.c:840: warning: expecting prototype for batadv_mcast_flags_logs(). Prototype was for batadv_mcast_flags_log() instead


vim +758 drivers/rapidio/rio.c

93bdaca5018c02 Alexandre Bounine 2016-03-22  750  
93bdaca5018c02 Alexandre Bounine 2016-03-22  751  /**
93bdaca5018c02 Alexandre Bounine 2016-03-22  752   * rio_unmap_inb_region -- Unmap the inbound memory region
93bdaca5018c02 Alexandre Bounine 2016-03-22  753   * @mport: Master port
93bdaca5018c02 Alexandre Bounine 2016-03-22  754   * @destid: destination id mapping points to
93bdaca5018c02 Alexandre Bounine 2016-03-22  755   * @rstart: RIO base address window translates to
93bdaca5018c02 Alexandre Bounine 2016-03-22  756   */
93bdaca5018c02 Alexandre Bounine 2016-03-22  757  void rio_unmap_outb_region(struct rio_mport *mport, u16 destid, u64 rstart)
93bdaca5018c02 Alexandre Bounine 2016-03-22 @758  {
93bdaca5018c02 Alexandre Bounine 2016-03-22  759  	unsigned long flags;
93bdaca5018c02 Alexandre Bounine 2016-03-22  760  
93bdaca5018c02 Alexandre Bounine 2016-03-22  761  	if (!mport->ops->unmap_outb)
93bdaca5018c02 Alexandre Bounine 2016-03-22  762  		return;
93bdaca5018c02 Alexandre Bounine 2016-03-22  763  
93bdaca5018c02 Alexandre Bounine 2016-03-22  764  	spin_lock_irqsave(&rio_mmap_lock, flags);
93bdaca5018c02 Alexandre Bounine 2016-03-22  765  	mport->ops->unmap_outb(mport, destid, rstart);
93bdaca5018c02 Alexandre Bounine 2016-03-22  766  	spin_unlock_irqrestore(&rio_mmap_lock, flags);
93bdaca5018c02 Alexandre Bounine 2016-03-22  767  }
93bdaca5018c02 Alexandre Bounine 2016-03-22  768  EXPORT_SYMBOL_GPL(rio_unmap_outb_region);
93bdaca5018c02 Alexandre Bounine 2016-03-22  769  

:::::: The code at line 758 was first introduced by commit
:::::: 93bdaca5018c02ba838f8fe2178fab261e2c1e68 rapidio: add outbound window support

:::::: TO: Alexandre Bounine <alexandre.bounine@xxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

---
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