[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220701094553.1722-1-wangdeming@inspur.com>
Date: Fri, 1 Jul 2022 05:45:53 -0400
From: Deming Wang <wangdeming@...pur.com>
To: <mpe@...erman.id.au>
CC: <benh@...nel.crashing.org>, <paulus@...ba.org>,
<linuxppc-dev@...ts.ozlabs.org>, <linux-kernel@...r.kernel.org>,
Deming Wang <wangdeming@...pur.com>
Subject: [PATCH] powerpc: Fix formatting problems to make code look more beautiful
Operators should be separated by spaces in tce_buildmulti_pSeriesLP
Signed-off-by: Deming Wang <wangdeming@...pur.com>
---
arch/powerpc/platforms/pseries/iommu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c
index fba64304e859..d09c8bb06e5b 100644
--- 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);
--
2.27.0
Powered by blists - more mailing lists