2021-02-25 09:28:21

by Zhiyuan Dai

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

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

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

diff --git a/mm/compaction.c b/mm/compaction.c
index 190ccda..bd821e1 100644
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -2837,7 +2837,7 @@ void wakeup_kcompactd(pg_data_t *pgdat, int order, int highest_zoneidx)
*/
static int kcompactd(void *p)
{
- pg_data_t *pgdat = (pg_data_t*)p;
+ pg_data_t *pgdat = (pg_data_t *)p;
struct task_struct *tsk = current;
unsigned int proactive_defer = 0;

--
1.8.3.1