Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1364277ybz; Wed, 22 Apr 2020 19:39:36 -0700 (PDT) X-Google-Smtp-Source: APiQypK9cj1dATzCHgJY/whNouCSULUkrxw1DZMktp+MMNcnnC37dxbIv5r8POKWrMy45dCFeTPc X-Received: by 2002:a17:906:1199:: with SMTP id n25mr1033664eja.30.1587609576779; Wed, 22 Apr 2020 19:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587609576; cv=none; d=google.com; s=arc-20160816; b=PKV+Q8utKo82Z796ajkrx9NM7azkn2WV8Emg6N9IEnnexLI30PxDkwRQDvOhrEFiPx fiHT/6MRMA5SQq9Lw/MdOvHL4lcCuJGhDOfXceU8VH0+DN/NJ6BshuhzzORMLwyGEJBK dieghe7vjQxRStdC+CPXaFn5GMjSvw+qgs51VgKWih4ZSX3ZBa3QI490xRdWxD6MFtlg XOwVyH47hkK5UQE+6hR4nIJcGZJQJXCcIJ2D36GgbpRsaveoOkkahczQmZQeLGhfRjhD A+kPGn0jcUWomc8YSqcR18lgcN+kZxRouvv0QoUs8qrew91FGUBaq1UkmlwgyhuKQkLX 5tOg== 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:from:subject:cc:to:message-id:date; bh=fQKwJTxEk+wlV50Lh6Q1aw3S/kj+NMTf/Rj/TIo4lHc=; b=Ju/jJ9fB3+YZboIqfkNbLAITO2ryF/GC1KMn6ikKDLhVzsLtVcCsC0VAByvclgwjrU KKEZH4zbsixNnzzFJ2PQkpR/3VcIPhnEqX5po9CCzGAy/dcvAu8unA/zKlCj4bOMIZ8u Lgids8Bwt7xnlvOQEiyi1Yrq5utFND8WB2YOx8kfMfe5ucrXhPzviTttAk2lFFiTpKr1 7uL0FaGb3Dkh9QNs4SttQ50ZdE/zRfpjxyVIJ2Et23w2BD+1pzKG1l6FGzwggi+8KrUG fCTYHheXFnYtuJxxzuUuhhANyornfHDazBVanQYpUNlqRUp3vyq0Go/i3wYELomJSXYi leGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: 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 h59si543921edc.222.2020.04.22.19.39.14; Wed, 22 Apr 2020 19:39:36 -0700 (PDT) Received-SPF: pass (google.com: 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: 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 S1726543AbgDWCiF (ORCPT + 99 others); Wed, 22 Apr 2020 22:38:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726054AbgDWCiF (ORCPT ); Wed, 22 Apr 2020 22:38:05 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 174A7C03C1AB; Wed, 22 Apr 2020 19:38:05 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id BE555127AD645; Wed, 22 Apr 2020 19:38:04 -0700 (PDT) Date: Wed, 22 Apr 2020 19:38:03 -0700 (PDT) Message-Id: <20200422.193803.75918530614650159.davem@davemloft.net> To: yanaijie@huawei.com Cc: kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: caif: use true,false for bool variables From: David Miller In-Reply-To: <20200422071636.48356-1-yanaijie@huawei.com> References: <20200422071636.48356-1-yanaijie@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 22 Apr 2020 19:38:04 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jason Yan Date: Wed, 22 Apr 2020 15:16:36 +0800 > Fix the following coccicheck warning: > > net/caif/caif_dev.c:410:2-13: WARNING: Assignment of 0/1 to bool > variable > net/caif/caif_dev.c:445:2-13: WARNING: Assignment of 0/1 to bool > variable > net/caif/caif_dev.c:145:1-12: WARNING: Assignment of 0/1 to bool > variable > net/caif/caif_dev.c:223:1-12: WARNING: Assignment of 0/1 to bool > variable > > Signed-off-by: Jason Yan Applied to net-next, thanks.