All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] locktorture: style fix - spaces required around
@ 2018-12-01  8:40 Wen Yang
  2018-12-01 20:37 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Wen Yang @ 2018-12-01  8:40 UTC (permalink / raw)
  To: Davidlohr Bueso, paulmck, Josh Triplett
  Cc: linux-kernel, zhong.weidong, Wen Yang

This patch fixes the following checkpatch.pl errors:

ERROR: spaces required around that ':' (ctx:VxW)
+                torture_type, tag, cxt.debug_lock ? " [debug]": "",
                                                               ^

Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
CC: Davidlohr Bueso <dave@stgolabs.net>
CC: "Paul E. McKenney" <paulmck@linux.ibm.com>
CC: Josh Triplett <josh@joshtriplett.org>
CC: linux-kernel@vger.kernel.org
---
 kernel/locking/locktorture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
index cd95c01491d8..d1d8356b770a 100644
--- a/kernel/locking/locktorture.c
+++ b/kernel/locking/locktorture.c
@@ -790,7 +790,7 @@ lock_torture_print_module_parms(struct lock_torture_ops *cur_ops,
 {
 	pr_alert("%s" TORTURE_FLAG
 		 "--- %s%s: nwriters_stress=%d nreaders_stress=%d stat_interval=%d verbose=%d shuffle_interval=%d stutter=%d shutdown_secs=%d onoff_interval=%d onoff_holdoff=%d\n",
-		 torture_type, tag, cxt.debug_lock ? " [debug]": "",
+		 torture_type, tag, cxt.debug_lock ? " [debug]" : "",
 		 cxt.nrealwriters_stress, cxt.nrealreaders_stress, stat_interval,
 		 verbose, shuffle_interval, stutter, shutdown_secs,
 		 onoff_interval, onoff_holdoff);
-- 
2.19.1


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

* Re: [PATCH] locktorture: style fix - spaces required around
  2018-12-01  8:40 [PATCH] locktorture: style fix - spaces required around Wen Yang
@ 2018-12-01 20:37 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2018-12-01 20:37 UTC (permalink / raw)
  To: Wen Yang
  Cc: Davidlohr Bueso, Josh Triplett, linux-kernel, zhong.weidong,
	peterz, mingo, will.deacon

On Sat, Dec 01, 2018 at 04:40:39PM +0800, Wen Yang wrote:
> This patch fixes the following checkpatch.pl errors:
> 
> ERROR: spaces required around that ':' (ctx:VxW)
> +                torture_type, tag, cxt.debug_lock ? " [debug]": "",
>                                                                ^
> 
> Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
> CC: Davidlohr Bueso <dave@stgolabs.net>
> CC: "Paul E. McKenney" <paulmck@linux.ibm.com>
> CC: Josh Triplett <josh@joshtriplett.org>
> CC: linux-kernel@vger.kernel.org

Adding the current maintainers on CC.

							Thanx, Paul

> ---
>  kernel/locking/locktorture.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
> index cd95c01491d8..d1d8356b770a 100644
> --- a/kernel/locking/locktorture.c
> +++ b/kernel/locking/locktorture.c
> @@ -790,7 +790,7 @@ lock_torture_print_module_parms(struct lock_torture_ops *cur_ops,
>  {
>  	pr_alert("%s" TORTURE_FLAG
>  		 "--- %s%s: nwriters_stress=%d nreaders_stress=%d stat_interval=%d verbose=%d shuffle_interval=%d stutter=%d shutdown_secs=%d onoff_interval=%d onoff_holdoff=%d\n",
> -		 torture_type, tag, cxt.debug_lock ? " [debug]": "",
> +		 torture_type, tag, cxt.debug_lock ? " [debug]" : "",
>  		 cxt.nrealwriters_stress, cxt.nrealreaders_stress, stat_interval,
>  		 verbose, shuffle_interval, stutter, shutdown_secs,
>  		 onoff_interval, onoff_holdoff);
> -- 
> 2.19.1
> 


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

end of thread, other threads:[~2018-12-01 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-01  8:40 [PATCH] locktorture: style fix - spaces required around Wen Yang
2018-12-01 20:37 ` Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.