2021-02-25 06:37:12

by Zhiyuan Dai

[permalink] [raw]
Subject: [PATCH] mm/oom_kill: minor coding style tweaks

Add whitespace to fix coding style issues, improve code reading.

Signed-off-by: Zhiyuan Dai <[email protected]>
---
mm/oom_kill.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/oom_kill.c b/mm/oom_kill.c
index c9a33ff..dd12dad7 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -994,7 +994,7 @@ static void oom_kill_process(struct oom_control *oc, const char *message)
if (oom_group) {
mem_cgroup_print_oom_group(oom_group);
mem_cgroup_scan_tasks(oom_group, oom_kill_memcg_member,
- (void*)message);
+ (void *)message);
mem_cgroup_put(oom_group);
}
}
--
1.8.3.1