]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: concat: set the return lengths properly
authorNiklas Cassel <niklas.cassel@axis.com>
Tue, 20 Jan 2015 09:35:32 +0000 (10:35 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 6 Feb 2015 04:32:20 +0000 (20:32 -0800)
commitcaa49b6001da7e734ab51f36bf7bf3e3966d2356
treef6daaef3ade2a221e62d07ee58570edbd275a77e
parenta4cc36b655b5752973f6f4209ba58513b39bf653
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