UBI: fix use of "VID" vs. "EC" in header self-check
Looks like a typo, using UBI_EC_HDR_SIZE_CRC (note the "EC") to compute the CRC for the VID header. This shouldn't cause any functional change, as both structures are 64 bytes. Verified with: BUILD_BUG_ON(UBI_VID_HDR_SIZE_CRC != UBI_EC_HDR_SIZE_CRC); Reported here: http://lists.infradead.org/pipermail/linux-mtd/2013-September/048570.html CRs-Fixed: 975289 Change-Id: I8c0cf432785c2584e28024fbb05684c2cfc88541 Reported by: Bill Pringlemeir <bpringlemeir@gmail.com> Signed-off-by:Brian Norris <computersforpeace@gmail.com> Signed-off-by:
Richard Weinberger <richard@nod.at> Git-commit: 2e69d4912f2fc9d4cd952311d58ceae1cd83057b Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Nikhilesh Reddy <reddyn@codeaurora.org>
Loading
Please register or sign in to comment