linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] mm: remove leading spaces before tabs
@ 2021-06-08  7:21 Zhen Lei
  0 siblings, 0 replies; only message in thread
From: Zhen Lei @ 2021-06-08  7:21 UTC (permalink / raw)
  To: Andrew Morton, linux-mm, linux-kernel; +Cc: Zhen Lei

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-08  7:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08  7:21 [PATCH 1/1] mm: remove leading spaces before tabs Zhen Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox