mtd: readtest: don't clobber error reports
authorBrian Norris <computersforpeace@gmail.com>
Mon, 4 May 2015 18:43:31 +0000 (11:43 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 14 May 2015 16:56:31 +0000 (09:56 -0700)
commitdb7c727402b3f6a604f0c52be5f6df8ca3797030
treea55fa9b3ea2a3da12428dfbfb4d1cd8dd693520d
parentb787f68c36d49bb1d9236f403813641efa74a031
mtd: readtest: don't clobber error reports

Commit 2a6a28e7922c ("mtd: Make MTD tests cancelable") accidentally
clobbered any read failure reports.

Coverity CID #1296020

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/tests/readtest.c