rcu.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] rcu: remove trailing spaces and tabs
@ 2021-06-08  7:49 Zhen Lei
  2021-06-09 19:27 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Zhen Lei @ 2021-06-08  7:49 UTC (permalink / raw)
  To: Paul E . McKenney, Josh Triplett, Steven Rostedt,
	Mathieu Desnoyers, Lai Jiangshan, Joel Fernandes, rcu,
	linux-kernel
  Cc: 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]+$//'

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
 kernel/rcu/tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 6140709f7249..3f38d5ac5bb0 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -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.
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] rcu: remove trailing spaces and tabs
  2021-06-08  7:49 [PATCH 1/1] rcu: remove trailing spaces and tabs Zhen Lei
@ 2021-06-09 19:27 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2021-06-09 19:27 UTC (permalink / raw)
  To: Zhen Lei
  Cc: Josh Triplett, Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan,
	Joel Fernandes, rcu, linux-kernel

On Tue, Jun 08, 2021 at 03:49:48PM +0800, Zhen Lei wrote:
> Run the following command to find and remove the trailing spaces and tabs:
> 
> find kernel/rcu/ -type f | xargs sed -r -i 's/[ \t]+$//'
> 
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>

Queued for v5.15, thank you!

							Thanx, Paul

> ---
>  kernel/rcu/tree.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
> index 6140709f7249..3f38d5ac5bb0 100644
> --- a/kernel/rcu/tree.c
> +++ b/kernel/rcu/tree.c
> @@ -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.
> -- 
> 2.25.1
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-09 19:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08  7:49 [PATCH 1/1] rcu: remove trailing spaces and tabs Zhen Lei
2021-06-09 19:27 ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).