[PATCH] UBI: fastmap: correct error check

Brian Norris computersforpeace at gmail.com
Mon Jun 9 10:01:39 PDT 2014


Hi Artem,

On Wed, May 21, 2014 at 09:29:32AM +0200, Richard Weinberger wrote:
> 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>

Ping.

Brian



More information about the linux-mtd mailing list