From: Deming Wang Date: Fri, 1 Jul 2022 09:45:53 +0000 (-0400) Subject: powerpc/pseries: Fix formatting to make code look more beautiful X-Git-Tag: v6.6.7~3866^2~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14b5d59a261b1947db287b3b52f4bb1dc496dede;p=platform%2Fkernel%2Flinux-starfive.git powerpc/pseries: Fix formatting to make code look more beautiful Operators should be separated by spaces in tce_buildmulti_pSeriesLP() Signed-off-by: Deming Wang Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20220701094553.1722-1-wangdeming@inspur.com --- diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index 561adac..c74b71d 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);