diff options
author | Deming Wang <wangdeming@inspur.com> | 2022-07-01 05:45:53 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-11-24 23:31:46 +1100 |
commit | 14b5d59a261b1947db287b3b52f4bb1dc496dede (patch) | |
tree | 5595554659686331a459b015c633cceb5db14e14 /arch/powerpc | |
parent | 5f58cad1e4c65bebee34292696c6d2105eeb2027 (diff) | |
download | linux-stable-14b5d59a261b1947db287b3b52f4bb1dc496dede.tar.gz linux-stable-14b5d59a261b1947db287b3b52f4bb1dc496dede.tar.bz2 linux-stable-14b5d59a261b1947db287b3b52f4bb1dc496dede.zip |
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 <wangdeming@inspur.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220701094553.1722-1-wangdeming@inspur.com
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/pseries/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index 561adac69022..c74b71d4733d 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); |