]> www.infradead.org Git - mtd-utils.git/commit
mtd-utils: nandwrite: Comment, style fixups
authorBrian Norris <computersforpeace@gmail.com>
Wed, 3 Nov 2010 08:27:19 +0000 (01:27 -0700)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 13 Nov 2010 11:40:51 +0000 (13:40 +0200)
commitd96b3e1775d254cc56dafad6bf824cdffb0e09fa
treed074cb219aa2cc566718cca18b04fabac97ea4f5
parent98aa1a65683efcece1d172a9c2649b5d1d149a19
mtd-utils: nandwrite: Comment, style fixups

Comment on "blockalign" default value is incorrect; it only defaults
to a 1x multiplier of the actual block size. Perhaps this is a relic
of early NAND where all block sizes were 16KB?

Reformatted a multi-line comment.

Changed separete "if" statements to a combined "if-else-if" since they
were logically combinable. Should have no effect on results with minor
effect on efficiency.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
nandwrite.c