mm/memory_hotplug: minor coding style tweaks
diff mbox series

Message ID 1613971784-24878-1-git-send-email-daizhiyuan@phytium.com.cn
State In Next
Commit 4a4f41f37d8531ae60c38617622c245c5759c972
Headers show
Series
  • mm/memory_hotplug: minor coding style tweaks
Related show

Commit Message

Zhiyuan Dai Feb. 22, 2021, 5:29 a.m. UTC
This patch move the pointer location to fix coding style issues,
improve code reading.

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

Patch
diff mbox series

diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index f9d57b9..a46c297 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -764,7 +764,7 @@  static inline struct zone *default_zone_for_pfn(int nid, unsigned long start_pfn
 	return movable_node_enabled ? movable_zone : kernel_zone;
 }
 
-struct zone * zone_for_pfn_range(int online_type, int nid, unsigned start_pfn,
+struct zone *zone_for_pfn_range(int online_type, int nid, unsigned start_pfn,
 		unsigned long nr_pages)
 {
 	if (online_type == MMOP_ONLINE_KERNEL)