[PATCH v6 2/2] mtd: nand_bbt: scan for next free bbt block if writing bbt fails

kbuild test robot lkp at intel.com
Fri Aug 12 12:30:15 PDT 2016


Hi Kyle,

[auto build test WARNING on mtd/master]
[also build test WARNING on v4.8-rc1 next-20160812]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Kyle-Roeschley/mtd-nand_bbt-Move-BBT-block-selection-logic-out-of-write_bbt/20160813-015713
base:   git://git.infradead.org/linux-mtd.git master
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

>> drivers/mtd/nand/nand_bbt.c:685: warning: No description found for parameter 'block'
>> drivers/mtd/nand/nand_bbt.c:685: warning: Excess function parameter 'md' description in 'mark_bbt_block_bad'
   drivers/mtd/nand/nand_bbt.c:1: warning: no structured comments found
>> drivers/mtd/nand/nand_bbt.c:685: warning: No description found for parameter 'block'
>> drivers/mtd/nand/nand_bbt.c:685: warning: Excess function parameter 'md' description in 'mark_bbt_block_bad'

vim +/block +685 drivers/mtd/nand/nand_bbt.c

   669	
   670	/**
   671	 * mark_bbt_block_bad - Mark one of the block reserved for BBT bad
   672	 * @this: the NAND device
   673	 * @td: the BBT description
   674	 * @md: the mirror BBT descriptor
   675	 * @chip: the CHIP selector
   676	 *
   677	 * Blocks reserved for BBT can become bad. This functions is an helper to mark
   678	 * such blocks as bad. It takes care of updating the in-memory BBT, marking the
   679	 * block as bad using a bad block marker and invalidating the associated
   680	 * td->pages[] entry.
   681	 */
   682	static void mark_bbt_block_bad(struct nand_chip *this,
   683				       struct nand_bbt_descr *td,
   684				       int chip, int block)
 > 685	{
   686		struct mtd_info *mtd = nand_to_mtd(this);
   687		loff_t to;
   688		int res;
   689	
   690		bbt_mark_entry(this, block, BBT_BLOCK_WORN);
   691	
   692		to = (loff_t)block << this->bbt_erase_shift;
   693		res = this->block_markbad(mtd, to);

---
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/octet-stream
Size: 6366 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20160813/994a672a/attachment.obj>


More information about the linux-mtd mailing list