projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b6b64a
)
alpha: Avoid comma separated statements
author
Joe Perches
<joe () perches ! com>
Tue, 25 Aug 2020 04:55:59 +0000
(
04:55
+0000)
committer
Matt 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
patch
|
blob
|
history
diff --git
a/arch/alpha/kernel/pci_iommu.c
b/arch/alpha/kernel/pci_iommu.c
index
e83a02e
..
c811839
100644
(file)
--- 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) {