[MTD] [NAND] Replace -1 with -EBADMSG in nand error correction code
commiteb684507159de2162cd6fc62f2b3a671afd5a61d
authorJörn Engel <joern@logfs.org>
Sat, 20 Oct 2007 21:16:32 +0000 (20 23:16 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 20 Oct 2007 21:30:54 +0000 (20 22:30 +0100)
tree18bdc17456ef9af6ed85f1d08a735d8fe911d852
parent1dd7fdb163645f453f5ae55686511b6fcc2314cd
[MTD] [NAND] Replace -1 with -EBADMSG in nand error correction code

Magic numerical values are just bad style.  Particularly so when
undocumented.

Signed-off-by: Jörn Engel <joern@logfs.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/diskonchip.c
drivers/mtd/nand/nand_ecc.c
lib/reed_solomon/decode_rs.c
lib/reed_solomon/reed_solomon.c