]> www.infradead.org Git - mtd-utils.git/commit
nand-utils: nanddump: Explicitely use the page size when relevant
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 26 Aug 2024 09:46:21 +0000 (11:46 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Tue, 8 Oct 2024 06:14:33 +0000 (08:14 +0200)
commitbc6f5df46460fe00b953fb81706770b49bd36e77
tree6474a829a1bf652beb3b6678c88f4bb5b96a5205
parent11c30d73d3927373a114e9ed274f627a124d9ad7
nand-utils: nanddump: Explicitely use the page size when relevant

Using bs when skipping the bad sector is abusive as what we want is
using the size of a block and the size of a page. The fact that bs
currently is the size of a page is misleading here, has I intend to make
this amount grow.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
nand-utils/nanddump.c