Skip to contentSkip to conversation

rcu: remove trailing spaces and tabs

PATCH Applied Zhen Lei 2 participants 2 messages Jun 8, 2021 – Jun 9, 2021 RCU

lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

PATCH 1/1 rcu: remove trailing spaces and tabs

Run the following command to find and remove the trailing spaces and tabs:

find kernel/rcu/ -type f | xargs sed -r -i 's/[ \t]+$//'

---
 kernel/rcu/tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/rcu/tree.c +1 -1
index 6140709f7249..3f38d5ac5bb0 100644
@@ -259,7 +259,7 @@ static noinstr unsigned long rcu_dynticks_inc(int incby)
 {
 	struct rcu_data *rdp = this_cpu_ptr(&rcu_data);
 	int seq;
-	
+
 	seq = READ_ONCE(rdp->dynticks) + incby;
 	smp_store_release(&rdp->dynticks, seq);
 	smp_mb();  // Fundamental RCU ordering guarantee.
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Zhen Lei

Run the following command to find and remove the trailing spaces and tabs:

find kernel/rcu/ -type f | xargs sed -r -i 's/[ \t]+$//'

Queued for v5.15, thank you!

Thanx, Paul

Quoted 21 lines
---
 kernel/rcu/tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/rcu/tree.c +1 -1
index 6140709f7249..3f38d5ac5bb0 100644
@@ -259,7 +259,7 @@ static noinstr unsigned long rcu_dynticks_inc(int incby)
 {
 	struct rcu_data *rdp = this_cpu_ptr(&rcu_data);
 	int seq;
-	
+
 	seq = READ_ONCE(rdp->dynticks) + incby;
 	smp_store_release(&rdp->dynticks, seq);
 	smp_mb();  // Fundamental RCU ordering guarantee.
Signature · 1 line
2.25.1