diff mbox series

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

Message ID 20210608072115.12793-1-thunder.leizhen@huawei.com (mailing list archive)
State New, archived
Headers show
Series [1/1] mm: remove leading spaces before tabs | expand

Commit Message

Leizhen (ThunderTown) June 8, 2021, 7:21 a.m. UTC
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@huawei.com>
---
 mm/vmscan.c | 2 +-
 mm/vmstat.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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:
 	 *