2021-02-25 06:29:26

by Zhiyuan Dai

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

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

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

diff --git a/mm/vmscan.c b/mm/vmscan.c
index b1b574a..333c43b 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -3872,7 +3872,7 @@ static int kswapd(void *p)
{
unsigned int alloc_order, reclaim_order;
unsigned int highest_zoneidx = MAX_NR_ZONES - 1;
- pg_data_t *pgdat = (pg_data_t*)p;
+ pg_data_t *pgdat = (pg_data_t *)p;
struct task_struct *tsk = current;
const struct cpumask *cpumask = cpumask_of_node(pgdat->node_id);

--
1.8.3.1