Commit 4da2bd30 authored by Joe Perches's avatar Joe Perches Committed by Matt Turner

alpha: Avoid comma separated statements

Use semicolons and braces.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarMatt Turner <mattst88@gmail.com>
parent 6b6b64ab
......@@ -127,10 +127,12 @@ iommu_arena_find_pages(struct device *dev, struct pci_iommu_arena *arena,
goto again;
}
if (ptes[p+i])
p = ALIGN(p + i + 1, mask + 1), i = 0;
else
if (ptes[p+i]) {
p = ALIGN(p + i + 1, mask + 1);
i = 0;
} else {
i = i + 1;
}
}
if (i < n) {
......
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