[PATCH V2] nanddump: check write function result for errors
Rafał Miłecki
zajec5 at gmail.com
Tue Sep 6 12:42:28 PDT 2016
On 18 July 2016 at 17:09, Rafał Miłecki <zajec5 at gmail.com> wrote:
> Errors may happen, it's e.g. easy on embedded devices to run out of space
> when dumping big partitions. This patch adds a helper function for
> writing. It deals with partial writes and just returns 0 on success or
> error number.
>
> The old code didn't check for errors at all which could result in
> incomplete dumps without exiting with an error.
>
> Signed-off-by: Rafał Miłecki <zajec5 at gmail.com>
Can this finally be pushed, please?
More information about the linux-mtd
mailing list