mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04: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
|
|
@ -61,6 +61,7 @@ void **raid_malloc_vector(int nd, int n, size_t size, void **freeptr)
|
|||
/* because they are usually accessed from the last one */
|
||||
for (i = 0; i < nd / 2; ++i) {
|
||||
void *ptr = v[i];
|
||||
|
||||
v[i] = v[nd - 1 - i];
|
||||
v[nd - 1 - i] = ptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue