mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-30 11:56:33 -05:00
Fix some formatting issues of the code
Now it matches the Linux kernel style.
This commit is contained in:
parent
2bcca4f2ec
commit
c8558c28ac
10 changed files with 50 additions and 48 deletions
|
|
@ -147,6 +147,7 @@ static void set_cauchy(uint8_t *matrix)
|
|||
inv_x = 1;
|
||||
for (i = 0; i < DISK; ++i) {
|
||||
uint8_t x = gfinv[inv_x];
|
||||
|
||||
matrix[(j + 2) * DISK + i] = gfinv[y ^ x];
|
||||
inv_x = gfmul(2, inv_x);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue