alpha: Avoid comma separated statements
authorJoe Perches <joe () perches ! com>
Tue, 25 Aug 2020 04:55:59 +0000 (04:55 +0000)
committerMatt Turner <mattst88@gmail.com>
Sat, 25 Feb 2023 04:14:22 +0000 (23:14 -0500)
Use semicolons and braces.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/pci_iommu.c

index e83a02e..c811839 100644 (file)
@@ -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) {