Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2907470ybb; Fri, 27 Mar 2020 14:26:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuKNqBbdHkccily9EeBeVg9lEtpbtz3bN2FwDcKwxyCZ+oXrB7gusCVLCZBXmPVdUANIWaB X-Received: by 2002:a9d:6184:: with SMTP id g4mr586712otk.38.1585344374167; Fri, 27 Mar 2020 14:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585344374; cv=none; d=google.com; s=arc-20160816; b=uhyICKcWpjefZ44kvvNoLicyOL5cpzBaBLXbx3dAx22IF210SeBgpEEbBh3HjOszZC 9XfhSlIsFePSKo/6zuoHpt4PfoWomWHSfadPVXpdpACzQrQSONq/EDmGm0J+4qXHpaG7 Th6R60cMHGuJvpZFnlKLCqATRYThJ9EzA7pP1SwaiqXn99nOsba3aK91JWGpehRtdS36 XXzM+UGSvO20A93s1j3tFa7vM3QHePJs5sogT2bq04Xp/vR5Ojdfgl9YgVnawpdlhDSS KqOlrtIcifPC8zGjuBJoROBkt5ADC1VADMteCaM2ar69wvEinkU/M0aFN7nbZtb4X7fu iE8Q== 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=md+qLZf6jlB2TWcs3jNatI8krmg3DHFDovsw6g2VMMw=; b=YPGYbJ6MvX3CaZM8fukf3n5cs4jBI10EApX6tfxMJ3ZJMJK1p2ubXVutS6KJSGGsCX kdhArmnRR8Kd2ziFKnTlwN0W4StrtKOlDWKrgWDtNiGsPw5hm0E3m4WNZX3l7ta3C6eI yWU2Uor8p+1bEZf59rYAa6QWqHivwIP5r1dP86Pwj3Y5WjOfIc3/UssaM8bbVFzLWurC n3kEkA2Fh3mYJ16ZV6/YeJc0Od0ozWHGzrxGCA17vc7eVQOOHir8yCW5SuOsELlfoOi9 vkwQb0XPCER2iKdL8V0b33ZO38I6ZGh3y6FdAs6WcvmVBqQXI97KiEe+CFJKeHuqpDId LyCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=azbjhuyl; 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 l15si2752677oth.29.2020.03.27.14.25.59; Fri, 27 Mar 2020 14:26:14 -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=azbjhuyl; 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 S1727725AbgC0VY2 (ORCPT + 99 others); Fri, 27 Mar 2020 17:24:28 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40174 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727677AbgC0VYX (ORCPT ); Fri, 27 Mar 2020 17:24:23 -0400 Received: by mail-wr1-f66.google.com with SMTP id u10so13235550wro.7 for ; Fri, 27 Mar 2020 14:24:22 -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=md+qLZf6jlB2TWcs3jNatI8krmg3DHFDovsw6g2VMMw=; b=azbjhuylivsenpiyEmxUiv4wG/EgSxXc0RGAbvQtpoPEsksdel/3DGSndMYA+Z9CGk 4hk0sjJy7PIQHsndldvlP8+l6ihufc5epfRZOy3epHDkkHvldG7pHrSgLO9lAbogL3ip 2ihZyhhxhLqdEcL4YJQmpBtZCio8mZUSIzy2zSV7GiKsSxeBRAeFARuu65p545fzKw3C bU4ZumMLaZRLHVT5yDBWvzBcTLtYfPhMEm+Evxda8dkVRwbCnA0AGPU/5hJ0lvffETZq Hq/YhlsIH6Q3Lnjc08Ss+5EVAK85kElt0lFql8Z+tEpNkw6wjcmM0+2VxY+B3Vw+9Nig bAHw== 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=md+qLZf6jlB2TWcs3jNatI8krmg3DHFDovsw6g2VMMw=; b=d5oHVAFxSypM00ny/lK8E6hfs6aBcwVWQgtpIPdtc5bxO4W1k5JUZ+kmsa4uQrGFFA g4S/j+LRQUIR4EJ/7F/xBjtHPi23HXbqFosTeTWoOjm8Yg4AKgK+GEDdbQZXYLVPt9Gg l0Vt/d1Az8Omw9MgLgJhddAJLo9/0hIUjcanq3ZI0SOiyzqbkoiUkLdpr1IoqpTPna0A syh7sxwMuGPKq5wBr5EJ0xUeNw3AUDpy08wYqfM6qPHzQr4/TolydB/2yVlbfdByMKN3 sTf8quIPlzP+GASB6MCJjgnpZEUd+Ew8YgYgZsOyJG5CSvmburJCW88tDI9PtjE2eY+c IhjQ== X-Gm-Message-State: ANhLgQ1aKdUBtgjp0UppL2unPsUs/r+Y/biEmDok4aO0fpzMzUB0wMAW bKGPgLc/z9ZgLQ+UI2H10Q== X-Received: by 2002:adf:a549:: with SMTP id j9mr1408013wrb.183.1585344261719; Fri, 27 Mar 2020 14:24:21 -0700 (PDT) Received: from ninjahost.lan (host-92-23-82-35.as13285.net. [92.23.82.35]) by smtp.gmail.com with ESMTPSA id h132sm10215141wmf.18.2020.03.27.14.24.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 14:24:21 -0700 (PDT) From: Jules Irenge To: julia.lawall@lip6.fr Cc: boqun.feng@gmail.com, Thomas Gleixner , linux-kernel@vger.kernel.org (open list:IRQ SUBSYSTEM) Subject: [PATCH 04/10] irq: Replace 1 by true Date: Fri, 27 Mar 2020 21:23:51 +0000 Message-Id: <20200327212358.5752-5-jbi.octave@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200327212358.5752-1-jbi.octave@gmail.com> References: <0/10> <20200327212358.5752-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 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 --- 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