Skip to contentSkip to conversation

powerpc: Fix formatting problems to make code look more beautiful

PATCH Applied Deming Wang 2 participants 2 messages Jul 1, 2022 – Nov 30, 2022 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: Fix formatting problems to make code look more beautiful

Operators should be separated by spaces in tce_buildmulti_pSeriesLP

---
 arch/powerpc/platforms/pseries/iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/pseries/iommu.c +1 -1
index fba64304e859..d09c8bb06e5b 100644
@@ -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);
Signature · 1 line
2.27.0