[linux-next:master 4330/4460] DockBook: drivers/rapidio/rio.c:568: warning: No description found for parameter 'mport'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   b613c2bfa3e843fdeff95878edc7326b763abd1b
commit: 6d643d52a9d10ccf67d6990ff28c9042ab68f473 [4330/4460] rapidio: move rio_pw_enable into core code
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

>> drivers/rapidio/rio.c:568: warning: No description found for parameter 'mport'
>> drivers/rapidio/rio.c:568: warning: Excess function parameter 'port' description in 'rio_pw_enable'
   include/linux/rio.h:301: warning: No description found for parameter 'lock'
   include/linux/rio.h:301: warning: Excess struct/union/enum/typedef member 'mutex' description in 'rio_mport'
   include/linux/rio.h:334: warning: No description found for parameter 'dev'
>> drivers/rapidio/rio.c:568: warning: No description found for parameter 'mport'
>> drivers/rapidio/rio.c:568: warning: Excess function parameter 'port' description in 'rio_pw_enable'

vim +/mport +568 drivers/rapidio/rio.c

   552		if (rdev->pwcback) {
   553			rdev->pwcback = NULL;
   554			rc = 0;
   555		}
   556	
   557		spin_unlock(&rio_global_list_lock);
   558		return rc;
   559	}
   560	EXPORT_SYMBOL_GPL(rio_release_inb_pwrite);
   561	
   562	/**
   563	 * rio_pw_enable - Enables/disables port-write handling by a master port
   564	 * @port: Master port associated with port-write handling
   565	 * @enable:  1=enable,  0=disable
   566	 */
   567	void rio_pw_enable(struct rio_mport *mport, int enable)
 > 568	{
   569		if (mport->ops->pwenable) {
   570			mutex_lock(&mport->lock);
   571	
   572			if ((enable && ++mport->pwe_refcnt == 1) ||
   573			    (!enable && mport->pwe_refcnt && --mport->pwe_refcnt == 0))
   574				mport->ops->pwenable(mport, enable);
   575			mutex_unlock(&mport->lock);
   576		}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]