[PATCH] UBI: fastmap: correct error check

Richard Weinberger richard at nod.at
Wed May 21 00:29:32 PDT 2014


Am 21.05.2014 07:35, schrieb Brian Norris:
> The return value from ubi_io_read_ec_hdr() was stored in 'err', not in
> 'ret'.
> 
> This issue was reported by Coverity Scan.

I begin to love Coverity. :-)
Thanks for the patch, Brian!

> Signed-off-by: Brian Norris <computersforpeace at gmail.com>
> Cc: Richard Weinberger <richard at nod.at>

Acked-by: Richard Weinberger <richard at nod.at>

Thanks,
//richard



More information about the linux-mtd mailing list