Skip to content

mtd: nand: misc BBT fixes

Brian Norris linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mtd: nand_bbt: drop unnecessary headerdrivers/mtd/nand/nand_bbt.c+0 -10 replies
2/5mtd: diskonchip: don't call nand_scan_bbt() directlydrivers/mtd/nand/diskonchip.c+16 -110 replies
3/5mtd: nand_bbt: make nand_scan_bbt() staticdrivers/mtd/nand/nand_bbt.c include/linux/mtd/nand.h+1 -20 replies
4/5mtd: nand_bbt: unify/fix error handling in nand_scan_bbt()drivers/mtd/nand/nand_bbt.c+12 -70 replies
5/5mtd: nand_bbt: fix theoretical integer overflow in BBT writedrivers/mtd/nand/nand_bbt.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] mtd: nand: misc BBT fixes

A few assorted changes. Some of these are geared toward refactoring the BBT code for being reused for SPI NAND.

If possible, I'd really like to get some testing for the diskonchip changes. It's an old driver, but it appears as if some still use it. Perhaps Alexander (CC'd) can report?

Brian Norris (5):
mtd: nand_bbt: drop unnecessary header
mtd: diskonchip: don't call nand_scan_bbt() directly
mtd: nand_bbt: make nand_scan_bbt() static
mtd: nand_bbt: unify/fix error handling in nand_scan_bbt()
mtd: nand_bbt: fix theoretical integer overflow in BBT write

 drivers/mtd/nand/diskonchip.c | 27 ++++++++++++++++-----------
 drivers/mtd/nand/nand_bbt.c   | 24 ++++++++++++++----------
 include/linux/mtd/nand.h      |  1 -
 3 files changed, 30 insertions(+), 22 deletions(-)
Signature · 1 line
2.1.0