[mtd-next:nand/next 11/31] htmldocs: drivers/mtd/nand/nand_base.c:3437: warning: No description found for parameter 'feature_addr'

kbuild test robot fengguang.wu at intel.com
Mon May 29 12:35:25 PDT 2017


tree:   git://git.infradead.org/linux-mtd-next.git nand/next
head:   0196f6fa246d16c601165a058a0eed8a1bfe1767
commit: 34c74cf3392d3264c2cde50125030e9ce775875b [11/31] mtd: nand: Make sure drivers not supporting SET/GET_FEATURES return -ENOTSUPP
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

>> drivers/mtd/nand/nand_base.c:3437: warning: No description found for parameter 'feature_addr'
>> drivers/mtd/nand/nand_base.c:3437: warning: No description found for parameter 'subfeature_para'
>> drivers/mtd/nand/nand_base.c:3437: warning: Excess function parameter 'addr' description in 'nand_onfi_get_set_features_notsupp'
>> drivers/mtd/nand/nand_base.c:3437: warning: Excess function parameter 'subfeature_param' description in 'nand_onfi_get_set_features_notsupp'
   drivers/mtd/nand/nand_bbt.c:1: warning: no structured comments found
>> drivers/mtd/nand/nand_base.c:3437: warning: No description found for parameter 'feature_addr'
>> drivers/mtd/nand/nand_base.c:3437: warning: No description found for parameter 'subfeature_para'
>> drivers/mtd/nand/nand_base.c:3437: warning: Excess function parameter 'addr' description in 'nand_onfi_get_set_features_notsupp'
>> drivers/mtd/nand/nand_base.c:3437: warning: Excess function parameter 'subfeature_param' description in 'nand_onfi_get_set_features_notsupp'

vim +/feature_addr +3437 drivers/mtd/nand/nand_base.c

  3421	}
  3422	
  3423	/**
  3424	 * nand_onfi_get_set_features_notsupp - set/get features stub returning
  3425	 *					-ENOTSUPP
  3426	 * @mtd: MTD device structure
  3427	 * @chip: nand chip info structure
  3428	 * @addr: feature address.
  3429	 * @subfeature_param: the subfeature parameters, a four bytes array.
  3430	 *
  3431	 * Should be used by NAND controller drivers that do not support the SET/GET
  3432	 * FEATURES operations.
  3433	 */
  3434	int nand_onfi_get_set_features_notsupp(struct mtd_info *mtd,
  3435					       struct nand_chip *chip,
  3436					       int feature_addr, u8 *subfeature_para)
> 3437	{
  3438		return -ENOTSUPP;
  3439	}
  3440	EXPORT_SYMBOL(nand_onfi_get_set_features_notsupp);
  3441	
  3442	/**
  3443	 * nand_suspend - [MTD Interface] Suspend the NAND flash
  3444	 * @mtd: MTD device structure
  3445	 */

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 6639 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20170530/b453e20d/attachment.gz>


More information about the linux-mtd mailing list