diff mbox series

powerpc: Fix formatting problems to make code look more beautiful

Message ID 20220701094553.1722-1-wangdeming@inspur.com (mailing list archive)
State Accepted
Commit 14b5d59a261b1947db287b3b52f4bb1dc496dede
Headers show
Series powerpc: Fix formatting problems to make code look more beautiful | expand

Checks

Context Check Description
snowpatch_ozlabs/github-powerpc_ppctests success Successfully ran 10 jobs.
snowpatch_ozlabs/github-powerpc_selftests success Successfully ran 10 jobs.
snowpatch_ozlabs/github-powerpc_sparse success Successfully ran 4 jobs.
snowpatch_ozlabs/github-powerpc_kernel_qemu success Successfully ran 23 jobs.
snowpatch_ozlabs/github-powerpc_clang success Successfully ran 7 jobs.

Commit Message

Deming Wang July 1, 2022, 9:45 a.m. UTC
Operators should be separated by spaces in tce_buildmulti_pSeriesLP

Signed-off-by: Deming Wang <wangdeming@inspur.com>
---
 arch/powerpc/platforms/pseries/iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Ellerman Nov. 30, 2022, 9:23 a.m. UTC | #1
On Fri, 1 Jul 2022 05:45:53 -0400, Deming Wang wrote:
> Operators should be separated by spaces in tce_buildmulti_pSeriesLP
> 
> 

Applied to powerpc/next.

[1/1] powerpc: Fix formatting problems to make code look more beautiful
      https://git.kernel.org/powerpc/c/14b5d59a261b1947db287b3b52f4bb1dc496dede

cheers
diff mbox series

Patch

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);