summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2023-03-24 23:00:41 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2023-03-30 23:35:43 +1100
commit2747fd26f801c98d0a8177278b4f5c91b8de9c94 (patch)
tree251e14dbb9968df2c0c178c1d97edf123aae974a
parent631cf002826007ab7415258ee647dcaf8845ad5a (diff)
downloadlwn-2747fd26f801c98d0a8177278b4f5c91b8de9c94.tar.gz
lwn-2747fd26f801c98d0a8177278b4f5c91b8de9c94.zip
powerpc/pseries: Add spaces around / operator
This is follow up change after 14b5d59a261b ("powerpc/pseries: Fix formatting to make code look more beautiful") to conform to kernel coding style. Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230324220041.11378-1-arkamar@atlas.cz
-rw-r--r--arch/powerpc/platforms/pseries/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c
index de77c8c43211..256493111d1d 100644
--- a/arch/powerpc/platforms/pseries/iommu.c
+++ b/arch/powerpc/platforms/pseries/iommu.c
@@ -479,7 +479,7 @@ static int tce_setrange_multi_pSeriesLP(unsigned long start_pfn,
* Set up the page with TCE data, looping through and setting
* the values.
*/
- limit = min_t(long, num_tce, 4096/TCE_ENTRY_SIZE);
+ limit = min_t(long, num_tce, 4096 / TCE_ENTRY_SIZE);
dma_offset = next + be64_to_cpu(maprange->dma_base);
for (l = 0; l < limit; l++) {