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

Skip to content
Commit ade8ed0d authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Vikram Mulukutla
Browse files

ANDROID: dm verity fec: fix RS block calculation



A call to do_div was changed in Linux 4.5 to div64_u64 in
verity_fec_decode, which broke RS block calculation due to
incompatible semantics. This change fixes the computation.

Bug: 21893453
Change-Id: Idb88b901e0209c2cccc9c0796689f780592d58f9
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
(cherry picked from commit 879aac93eebcc2862d71afa9eca3a0c0f51b3b01)
Git-commit: 8f9576b3
Git-repo: https://android.googlesource.com/kernel/common


Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent c1d1dd37
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