[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200327212358.5752-5-jbi.octave@gmail.com>
Date: Fri, 27 Mar 2020 21:23:51 +0000
From: Jules Irenge <jbi.octave@...il.com>
To: julia.lawall@...6.fr
Cc: boqun.feng@...il.com, Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org (open list:IRQ SUBSYSTEM)
Subject: [PATCH 04/10] irq: Replace 1 by true
Coccinelle reports a warning
WARNING: Assignment of 0/1 to bool variable
To fix this, 1 is replaced by true.
Given that variable noirqdebug is of bool type.
This fixes the warnings.
Signed-off-by: Jules Irenge <jbi.octave@...il.com>
---
kernel/irq/spurious.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c
index f865e5f4d382..70ba6d55d02a 100644
--- a/kernel/irq/spurious.c
+++ b/kernel/irq/spurious.c
@@ -431,7 +431,7 @@ bool noirqdebug __read_mostly;
int noirqdebug_setup(char *str)
{
- noirqdebug = 1;
+ noirqdebug = true;
printk(KERN_INFO "IRQ lockup detection disabled\n");
return 1;
--
2.25.1
Powered by blists - more mailing lists