public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel: watchdog: fix missing space coding style issue
@ 2022-07-14  6:04 Gavin Keusch
  2022-07-14  8:31 ` Petr Mladek
  0 siblings, 1 reply; 3+ messages in thread
From: Gavin Keusch @ 2022-07-14  6:04 UTC (permalink / raw)
  To: pmladek; +Cc: linux-kernel, Gavin Keusch

Fixed missing space causing coding style error

Signed-off-by: Gavin Keusch <gavinkeusch@gmail.com>
---
 kernel/watchdog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index ecb0e8346e65..b6b150c4b179 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -306,7 +306,7 @@ static int is_softlockup(unsigned long touch_ts,
 			 unsigned long period_ts,
 			 unsigned long now)
 {
-	if ((watchdog_enabled & SOFT_WATCHDOG_ENABLED) && watchdog_thresh){
+	if ((watchdog_enabled & SOFT_WATCHDOG_ENABLED) && watchdog_thresh) {
 		/* Warn about unreasonable delays. */
 		if (time_after(now, period_ts + get_softlockup_thresh()))
 			return now - touch_ts;
-- 
2.34.1


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

* Re: [PATCH] kernel: watchdog: fix missing space coding style issue
  2022-07-14  6:04 [PATCH] kernel: watchdog: fix missing space coding style issue Gavin Keusch
@ 2022-07-14  8:31 ` Petr Mladek
  2022-07-17  0:37   ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Mladek @ 2022-07-14  8:31 UTC (permalink / raw)
  To: Gavin Keusch; +Cc: linux-kernel, Andrew Morton

Adding Andrew into Cc who usually takes patches for kernel/watchdog.c.

Best Regards,
Petr

On Wed 2022-07-13 23:04:57, Gavin Keusch wrote:
> Fixed missing space causing coding style error
> 
> Signed-off-by: Gavin Keusch <gavinkeusch@gmail.com>
> ---
>  kernel/watchdog.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/watchdog.c b/kernel/watchdog.c
> index ecb0e8346e65..b6b150c4b179 100644
> --- a/kernel/watchdog.c
> +++ b/kernel/watchdog.c
> @@ -306,7 +306,7 @@ static int is_softlockup(unsigned long touch_ts,
>  			 unsigned long period_ts,
>  			 unsigned long now)
>  {
> -	if ((watchdog_enabled & SOFT_WATCHDOG_ENABLED) && watchdog_thresh){
> +	if ((watchdog_enabled & SOFT_WATCHDOG_ENABLED) && watchdog_thresh) {
>  		/* Warn about unreasonable delays. */
>  		if (time_after(now, period_ts + get_softlockup_thresh()))
>  			return now - touch_ts;
> -- 
> 2.34.1

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

* Re: [PATCH] kernel: watchdog: fix missing space coding style issue
  2022-07-14  8:31 ` Petr Mladek
@ 2022-07-17  0:37   ` Andrew Morton
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2022-07-17  0:37 UTC (permalink / raw)
  To: Petr Mladek; +Cc: Gavin Keusch, linux-kernel

On Thu, 14 Jul 2022 10:31:49 +0200 Petr Mladek <pmladek@suse.com> wrote:

> Adding Andrew into Cc who usually takes patches for kernel/watchdog.c.
> 
> Best Regards,
> Petr
> 
> On Wed 2022-07-13 23:04:57, Gavin Keusch wrote:
> > Fixed missing space causing coding style error
> > 
> > Signed-off-by: Gavin Keusch <gavinkeusch@gmail.com>
> > ---
> >  kernel/watchdog.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/kernel/watchdog.c b/kernel/watchdog.c
> > index ecb0e8346e65..b6b150c4b179 100644
> > --- a/kernel/watchdog.c
> > +++ b/kernel/watchdog.c
> > @@ -306,7 +306,7 @@ static int is_softlockup(unsigned long touch_ts,
> >  			 unsigned long period_ts,
> >  			 unsigned long now)
> >  {
> > -	if ((watchdog_enabled & SOFT_WATCHDOG_ENABLED) && watchdog_thresh){
> > +	if ((watchdog_enabled & SOFT_WATCHDOG_ENABLED) && watchdog_thresh) {
> >  		/* Warn about unreasonable delays. */
> >  		if (time_after(now, period_ts + get_softlockup_thresh()))
> >  			return now - touch_ts;

Patch is too minor to justify merging, sorry.  If it fixed 15
coding-style errors then maybe.  But this way just leads to too much
noise.


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

end of thread, other threads:[~2022-07-17  0:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-14  6:04 [PATCH] kernel: watchdog: fix missing space coding style issue Gavin Keusch
2022-07-14  8:31 ` Petr Mladek
2022-07-17  0:37   ` Andrew Morton

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