[PATCH 1/1] mm: remove leading spaces before tabs

From: Zhen Lei
Date: Tue Jun 08 2021 - 03:21:25 EST


1) Run the following command to find and remove the leading spaces before
tabs:
find mm/ -type f | xargs sed -r -i 's/^[ ]+\t/\t/'
2) Manually check and correct if necessary

Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>
---
mm/vmscan.c | 2 +-
mm/vmstat.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/vmscan.c b/mm/vmscan.c
index eb314525c889..f2e4377bcbfc 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -4302,7 +4302,7 @@ static int __init kswapd_init(void)

swap_setup();
for_each_node_state(nid, N_MEMORY)
- kswapd_run(nid);
+ kswapd_run(nid);
return 0;
}

diff --git a/mm/vmstat.c b/mm/vmstat.c
index b0534e068166..d7e94b4a95ee 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -200,7 +200,7 @@ int calculate_normal_threshold(struct zone *zone)
* The threshold scales with the number of processors and the amount
* of memory per zone. More memory means that we can defer updates for
* longer, more processors could lead to more contention.
- * fls() is used to have a cheap way of logarithmic scaling.
+ * fls() is used to have a cheap way of logarithmic scaling.
*
* Some sample thresholds:
*
--
2.25.1