Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb1355ed authored by Brian Norris's avatar Brian Norris Committed by Nikhilesh Reddy
Browse files

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: default avatarBrian Norris <computersforpeace@gmail.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Git-commit: 2e69d4912f2fc9d4cd952311d58ceae1cd83057b
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarNikhilesh Reddy <reddyn@codeaurora.org>
parent 0aebdcfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment