mm/sparse: minor coding style tweaks
diff mbox series

Message ID 1614227288-19363-1-git-send-email-daizhiyuan@phytium.com.cn
State In Next
Commit e3a92758d201a91892ac5374d396a50e0a0585d4
Headers show
Series
  • mm/sparse: minor coding style tweaks
Related show

Commit Message

Zhiyuan Dai Feb. 25, 2021, 4:28 a.m. UTC
Add whitespace to fix coding style issues, improve code reading.

Signed-off-by: Zhiyuan Dai <daizhiyuan@phytium.com.cn>
---
 mm/sparse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/mm/sparse.c b/mm/sparse.c
index 7bd23f9..be66a62 100644
--- a/mm/sparse.c
+++ b/mm/sparse.c
@@ -257,7 +257,7 @@  static void __init memory_present(int nid, unsigned long start, unsigned long en
 	if (unlikely(!mem_section)) {
 		unsigned long size, align;
 
-		size = sizeof(struct mem_section*) * NR_SECTION_ROOTS;
+		size = sizeof(struct mem_section *) * NR_SECTION_ROOTS;
 		align = 1 << (INTERNODE_CACHE_SHIFT);
 		mem_section = memblock_alloc(size, align);
 		if (!mem_section)