mtd: concat: set the return lengths properly
commitd164ea32674ec82e80f480769ffcd2144f901380
authorNiklas Cassel <niklas.cassel@axis.com>
Tue, 20 Jan 2015 09:35:32 +0000 (20 10:35 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 6 Feb 2015 04:32:20 +0000 (5 20:32 -0800)
treef6daaef3ade2a221e62d07ee58570edbd275a77e
parentbe802bf955a1aa9b92b71395405899ce076eca6e
mtd: concat: set the return lengths properly

In concat_read_oob both retlen and oobretlen should be updated.
concat_write_oob previously only (improperly) updated retlen.

Signed-off-by: Niklas Cassel <niklass@axis.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/mtdconcat.c