mtd: test: Fix check on ebcnt in nandpagetest
Paul HENRYS d'AUBIGNY
paul.henrys at embconsulting.eu
Wed Nov 22 01:50:35 PST 2017
Dear all,
Commit 4458ad6481f60d9884925d5bc62a7954880d181b introduced a check on
ebcnt to make sure nandpagetest is run on more than 2 erase blocks
(EB). This commit omits that by default, when the number of EB to use
is not specified, the full mtd partition should be used leading
nandpagetest to exit with failure in that case.
The attached patch intends to fix this.
Best regards,
Paul HENRYS
Software Engineer - Freelance
http://be.linkedin.com/in/phenrysd
PGP fingerprint: 1C45 321A 7830 4DCD 8453 2CE4 DF32 6222 6747 82F7
PGP key: https://pgp.mit.edu/pks/lookup?op=get&search=0xDF326222674782F7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nandpagetest.patch
Type: text/x-patch
Size: 1168 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20171122/d3d406de/attachment.bin>
More information about the linux-mtd
mailing list