summaryrefslogtreecommitdiff
path: root/arch/alpha
diff options
context:
space:
mode:
authorJoe Perches <joe () perches ! com>2020-08-25 07:55:59 +0300
committerMatt Turner <mattst88@gmail.com>2023-02-25 07:14:22 +0300
commit4da2bd306bffb46109819647b28e8cabae39c941 (patch)
tree3df37b51e94dd47cbcea91900d0b7b50ad54f47a /arch/alpha
parent6b6b64abe02c7693d56c9abfd27f142fa8a0caa6 (diff)
downloadlinux-4da2bd306bffb46109819647b28e8cabae39c941.tar.xz
alpha: Avoid comma separated statements
Use semicolons and braces. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/kernel/pci_iommu.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/alpha/kernel/pci_iommu.c b/arch/alpha/kernel/pci_iommu.c
index e83a02ed5267..c81183935e97 100644
--- a/arch/alpha/kernel/pci_iommu.c
+++ b/arch/alpha/kernel/pci_iommu.c
@@ -127,10 +127,12 @@ again:
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) {