From: Brian Norris Date: Sat, 28 Feb 2015 10:23:25 +0000 (-0800) Subject: UBI: account for bitflips in both the VID header and data X-Git-Tag: omap-for-v4.2/o2_dc~125^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8eef7d70f7c6772c3490f410ee2bceab3b543fa1;p=pandora-kernel.git UBI: account for bitflips in both the VID header and data We are completely discarding the earlier value of 'bitflips', which could reflect a bitflip found in ubi_io_read_vid_hdr(). Let's use the bitwise OR of header and data 'bitflip' statuses instead. Coverity CID #1226856 Cc: stable Signed-off-by: Brian Norris Signed-off-by: Richard Weinberger --- Reading git-diff-tree failed