]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: rename create_bbt()'s 'len' variable to 'numpages'
authorShmulik Ladkani <shmulik.ladkani@gmail.com>
Mon, 20 Aug 2012 13:29:15 +0000 (16:29 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sat, 25 Aug 2012 12:01:24 +0000 (15:01 +0300)
commit88b9e2c45297129863e0befc47881b3899402850
tree60bafcc8c01b46ea2f46aaa7f8dbdf6c28b46c62
parent2838e2bfef21f1fa0833509420c36ed5f09f4edc
mtd: nand: rename create_bbt()'s 'len' variable to 'numpages'

Rename 'len' variable of create_bbt/scan_block_fast/scan_block_full to
'numpages', since it really means number of pages to scan when
searching for the BBM (and not the byte length of the scan).

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/nand_bbt.c