Commit 0523c692 authored by Bhaskar Chowdhury's avatar Bhaskar Chowdhury Committed by Linus Torvalds
parent 550eb38b
...@@ -584,7 +584,7 @@ static int find_affine4_roots(struct bch_control *bch, unsigned int a, ...@@ -584,7 +584,7 @@ static int find_affine4_roots(struct bch_control *bch, unsigned int a,
k = a_log(bch, a); k = a_log(bch, a);
rows[0] = c; rows[0] = c;
/* buid linear system to solve X^4+aX^2+bX+c = 0 */ /* build linear system to solve X^4+aX^2+bX+c = 0 */
for (i = 0; i < m; i++) { for (i = 0; i < m; i++) {
rows[i+1] = bch->a_pow_tab[4*i]^ rows[i+1] = bch->a_pow_tab[4*i]^
(a ? bch->a_pow_tab[mod_s(bch, k)] : 0)^ (a ? bch->a_pow_tab[mod_s(bch, k)] : 0)^
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment