Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3349522ybb; Mon, 13 Apr 2020 06:16:59 -0700 (PDT) X-Google-Smtp-Source: APiQypKXkhS71bfeMx08DAvGzfgQWHhh5A3at3jouxKy/ehcgOvGYPBAfTxb4rO31PdRDGJw3a10 X-Received: by 2002:aa7:db88:: with SMTP id u8mr16489824edt.366.1586783819625; Mon, 13 Apr 2020 06:16:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586783819; cv=none; d=google.com; s=arc-20160816; b=d8I20JLwR9QKl7ydgkjSUKBjXeerwYfeOCysMHzOkXmgENPbYE2ESBGXxgdYYFP8ew MHjcco2WbrPSXzrVEALTN45UOP2UNahpBTSZiIrS4WfzRcAD11FVxGd5/SioLs/uWnrI JQFFklwwrjiY8loJZqjgmtTul7kMkIVR26ZxhaSsFAplzOXVySo1HWvf8Wf1d0nnzmm0 jJiGwmOn4tFqSy/frUBmOEUlkIZijhRJ/8H/qDPu14SVwcEXjw+OvyiKFst0eKbWDu9X WVjWjkmUiHsCVnqtQw4GWD431FZpGc+3BTjII79CT1z/y47KQ9V7e2EKYbvkd9EVgPAr CefQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=VhlWReUq9NN2Sfy8fb9PzYKy9C9MiD1t5Y5mfL8iWl4=; b=YxiKa1liajShDui4j7ZJPbbejxrG3vvsX1CeBA7SfiOFHZYxn3w5vqxA18naIxSQ/b UtJdc4I+Jh3N+d0dfYUdXkvQ557RIQU0PucEffhhamXGsk0OMdX9GHAwByUvxpMT+M+n umX/o9rLaYjRJwhkBjuyxMMgwSU2pNSUsLqgLkcT6Z8Ap4YtjuPxnsS45roovNGyHQVt UO376hf63HVGR8ALVzsNmw3Pldn5F5MSwnobcidnXRkm+NiRwW7jVym4d7+jtQk9WuAm PnoU2k4YpksbXvz8Rg6kYn8j62d6K9oN6G2uHYi7ui+SsxxhiLTzgEObcMiTlOVtAUwx ZLpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c19si6256286ejk.126.2020.04.13.06.16.36; Mon, 13 Apr 2020 06:16:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729252AbgDMLx0 (ORCPT + 99 others); Mon, 13 Apr 2020 07:53:26 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2308 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727887AbgDMLxZ (ORCPT ); Mon, 13 Apr 2020 07:53:25 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 0F6CC73AB70BC23B8CE2 for ; Mon, 13 Apr 2020 19:53:23 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Mon, 13 Apr 2020 19:53:15 +0800 From: Zou Wei To: , CC: Zou Wei Subject: [PATCH-next] genirq: use true for bool variable Date: Mon, 13 Apr 2020 19:59:34 +0800 Message-ID: <1586779174-102219-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes coccicheck warning: kernel/irq/spurious.c:434:1-11: WARNING: Assignment of 0/1 to bool variable Reported-by: Hulk Robot Signed-off-by: Zou Wei --- 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 f865e5f..70ba6d5 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.6.2