Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1963414ybb; Sun, 29 Mar 2020 18:26:53 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvKwokcQ4HchYE1jz14lhHMOtTBtxkpaOdKak3+FaojtnA/L8ZvGbDdDGgJpXNgh69yhcnn X-Received: by 2002:a05:6830:1b68:: with SMTP id d8mr7346051ote.56.1585531613676; Sun, 29 Mar 2020 18:26:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585531613; cv=none; d=google.com; s=arc-20160816; b=TECuLJurFov05cjIbMovplY81d7ixkYoIEhd7wX2l3sVedWyqt7Te8xv25wzsjcWp9 C0j4YERmI9TlLA9kMf4glqjYl2UDfhe3mA0+SP0or5Ry0uzzzuQGB4V3Dc4m6Ja6MCKC X+MRAC8wRWxD+IQ3uBhJ6lxrlLilaPe4H9ACsnwO56C/QE3TbH3OXZThJBn9cT3amAcx WH2y+4BonnJGfYcRekziu7sGZuSE8jPhLzLzp7MUpm7/sd6VE6+In1ej9sjg3FYYEo9P aTn4t7JB8eo3G+byubXTXCXUeOITjIYBczJIxkldezMdVjTNdC60e+V/+p/SVGG88Ys9 buvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=h8VbVmf4Tt1RXozkLLJMdZY7WTxZFWQRCzKKHxM4CQI=; b=Ri+K2uT2YSjoZUeZ9KDvSrqzkZ5KSgjFbOSseiEhR4o4ToXWiQ0GDe87oar0m0vRBd hpb9Sm60gpdpcu2NDmMrBCvj9lMxc++L3okFTYoQy1n9/BGL7l570prE7YcVaZA2rQaP +6cH1bRF6uctvHndNAMTBMMSB62SNSD9OpVE1smZ1uAFRLImw7ZKqdVp86GvfmNElULk GB8LtKnKu5wKfVxroMqWMzyXww9nnrJz3djnRO/so22D7lTFZHELbzoiExuT8YaIxdKp 1xKue609Ik0lD3NviWzmdbJgVM485LurF900SgQEzdzbzccJAlhqIDtiJ7SXvAxRCeeu JoDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AkVPuBUe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12si5836073otq.21.2020.03.29.18.26.41; Sun, 29 Mar 2020 18:26:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AkVPuBUe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728442AbgC3BZK (ORCPT + 99 others); Sun, 29 Mar 2020 21:25:10 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40319 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727830AbgC3BZJ (ORCPT ); Sun, 29 Mar 2020 21:25:09 -0400 Received: by mail-wr1-f66.google.com with SMTP id u10so19407275wro.7 for ; Sun, 29 Mar 2020 18:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h8VbVmf4Tt1RXozkLLJMdZY7WTxZFWQRCzKKHxM4CQI=; b=AkVPuBUeR9qiMXRCdMCio7LCjPAJp1a2DPYQkbXbw0otk/5++1xTdo9WUoTdQHKbbf XXgUicqZBlfbHm3HmIlkcXuGNjgxeZv19PMYyEwKWHlQetH4sNrwWimHtD1MwgKIW4Xg cXYNbm4jyP1pftPEpU/t/1TGoAkvYofsrI0CqeXqhPP0DKpE9KEFuTpIa7oHghzBunpf kSqxudNINEMO6wwspRcjLAgE+FveVoz3GlZ2WdAdr2Ma9MG195HrkLeSoLl7AhapwiNz +vb6h7UzhBY6hyd8502xnxQHk/j0//KX29R7W3PELwu+K/hWsm7eh0bnIT6w1ESni7x+ pNTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=h8VbVmf4Tt1RXozkLLJMdZY7WTxZFWQRCzKKHxM4CQI=; b=boYo1ey1HAdu1Qxq2pZukgTAlfSrAeL5PFzap5k6Y59ZPaaTuYLCm5VrnUFMo5D+/R wJdoCXlQZPUQjTvVClSyV0stuCLF6VhljaA6tu+LEOji7ybXvPU0hPPs14DH+QAnq7u6 ps9ZenSABsT+VRbfs4uo02jkMRERZRrfAJPlqoClLMPrwmZUbewAhWEciXveQHqLg1x2 xicG1+Z+GHAEoDI16Jh8AivM78j8Djq+FMNT8Lr1RVc0bhJHDgpQnR5Y03rfkZkDVYsG XOeqGxZc9TdaJ448l3nCcGb6bKUaRsclT/uG1rahFgw0XFYCWeKMuvYnOHcpbEUgDvjx SICA== X-Gm-Message-State: ANhLgQ0OjTErXKByMnfvamWwM5aHpg5cZWiW8IDShCWKfOeDwL2nmQoH EtrJ0LEddkknBLAbhmIxBwTWDun4NwRQ X-Received: by 2002:a5d:6a8b:: with SMTP id s11mr4826111wru.283.1585531507617; Sun, 29 Mar 2020 18:25:07 -0700 (PDT) Received: from earth.lan (host-92-23-85-227.as13285.net. [92.23.85.227]) by smtp.gmail.com with ESMTPSA id f12sm18679545wmh.4.2020.03.29.18.25.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Mar 2020 18:25:07 -0700 (PDT) From: Jules Irenge To: linux-kernel@vger.kernel.org Cc: julia.lawall@lip6.fr, boqun.feng@gmail.com, Thomas Gleixner Subject: [PATCH v2 3/4] genirq: Replace 1 by true Date: Mon, 30 Mar 2020 02:24:49 +0100 Message-Id: <20200330012450.312155-4-jbi.octave@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200330012450.312155-1-jbi.octave@gmail.com> References: <0/4> <20200330012450.312155-1-jbi.octave@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Coccinelle reports a warning at noirqdebug declaration WARNING: Assignment of 0/1 to bool variable The root cause is that noirqdebug, a variable of bool type is initialised with the integer 1 Replacing 1 with value true fixes the issue. Signed-off-by: Jules Irenge --- 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