diff mbox series

powerpc/pseries: Add spaces around / operator

Message ID 20230324220041.11378-1-arkamar@atlas.cz (mailing list archive)
State Accepted
Commit 2747fd26f801c98d0a8177278b4f5c91b8de9c94
Headers show
Series powerpc/pseries: Add spaces around / operator | expand

Commit Message

Petr Vaněk March 24, 2023, 10 p.m. UTC
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>
---
 arch/powerpc/platforms/pseries/iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Ellerman April 6, 2023, 1:09 a.m. UTC | #1
On Fri, 24 Mar 2023 23:00:41 +0100, Petr Vaněk wrote:
> This is follow up change after 14b5d59a261b ("powerpc/pseries: Fix
> formatting to make code look more beautiful") to conform to kernel
> coding style.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/pseries: Add spaces around / operator
      https://git.kernel.org/powerpc/c/2747fd26f801c98d0a8177278b4f5c91b8de9c94

cheers
diff mbox series

Patch

diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c
index c74b71d4733d..b0cb2fa39cf8 100644
--- a/arch/powerpc/platforms/pseries/iommu.c
+++ b/arch/powerpc/platforms/pseries/iommu.c
@@ -474,7 +474,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++) {