projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f58cad
)
powerpc/pseries: Fix formatting to make code look more beautiful
author
Deming Wang
<wangdeming@inspur.com>
Fri, 1 Jul 2022 09:45:53 +0000
(
05:45
-0400)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 24 Nov 2022 12:31:46 +0000
(23:31 +1100)
Operators should be separated by spaces in tce_buildmulti_pSeriesLP()
Signed-off-by: Deming Wang <wangdeming@inspur.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/20220701094553.1722-1-wangdeming@inspur.com
arch/powerpc/platforms/pseries/iommu.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/pseries/iommu.c
b/arch/powerpc/platforms/pseries/iommu.c
index
561adac
..
c74b71d
100644
(file)
--- a/
arch/powerpc/platforms/pseries/iommu.c
+++ b/
arch/powerpc/platforms/pseries/iommu.c
@@
-248,7
+248,7
@@
static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum,
* Set up the page with TCE data, looping through and setting
* the values.
*/
- limit = min_t(long, npages, 4096
/
TCE_ENTRY_SIZE);
+ limit = min_t(long, npages, 4096
/
TCE_ENTRY_SIZE);
for (l = 0; l < limit; l++) {
tcep[l] = cpu_to_be64(proto_tce | rpn << tceshift);