Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7301231ybl; Mon, 23 Dec 2019 23:26:45 -0800 (PST) X-Google-Smtp-Source: APXvYqx3aGqYrtuQaA/bVIzAA8G95EEv9HiSlMHYRVg/JmFw6LqZMLymTw74AGShCOdWZHaZBfIB X-Received: by 2002:a05:6830:1595:: with SMTP id i21mr37485761otr.29.1577172405719; Mon, 23 Dec 2019 23:26:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577172405; cv=none; d=google.com; s=arc-20160816; b=dIQs4JY/9fQFf3I283TkWX2R7c9JlrYRBsFTHBHd8ffUmsGfX3d8NQlfnNW1RZM1Fc wQ1Nudt4YxhMZ/HB9riJFCuBBfKPaU/5tzg3HrRxZPX8VG2v2W+YQkgXtRqNZ1G4zJCU alSgi7nZ0b8gi79+HJ6Y6iSBCQVVEfoeCP8Ks1coAx8UZqzxDMD7BxVEbCs2U+JKumxx Kn7CCHB5q3SLH5KZ2583Z621xuRUj3k4bgiVu5URGWkhdcmvXKFEC8vpe4+2xc2Bdr5C iGtruQCOyC7T041s2Z8C92cjooAtdQVSc4piowoMnuTJ8D8J/Nulxk65F5pkx6A6nKzB GWWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=3bQAGl0Z2EGvFgsWt1v+rlzxZCHhAg7AsOQrArKwsv8=; b=Zs8iL6HSi5p47sp6tdm5R/0fj+shK0hZ5EGxHXsA1V62vAWwJgAARXJ0DpiuoGpuZe RBFyOxqpW+xmnu8h3u8G3QOWF8Pat8sfq8Tka5thpwnO1HQym0sIe5wljcilJu1PhgeT /1Up1IcSiIeOL7TRJBue3ldKIVmmOY/Bafz5ysfppMqSFMLF0lKXLsfq9A6MDnmLalYV wIvaxeiOeHKjG9WPuLt229lclnPydx+ybdM4ejfXdCfqDh/zd9A8bmHTZ4T9yB5ToVqe S3JoGA33HsQUVHU5SizjXGqr6xyIhx1aDVQ1uMT5eRpV+j6KD73UIsDA6MGUZw57q8T5 axrw== 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 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si10538924oia.232.2019.12.23.23.26.22; Mon, 23 Dec 2019 23:26:45 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726224AbfLXHZH (ORCPT + 99 others); Tue, 24 Dec 2019 02:25:07 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:7741 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726065AbfLXHZG (ORCPT ); Tue, 24 Dec 2019 02:25:06 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 987425FBAF99FA1FBF4E; Tue, 24 Dec 2019 15:25:03 +0800 (CST) Received: from huawei.com (10.90.53.225) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.439.0; Tue, 24 Dec 2019 15:24:55 +0800 From: zhengbin To: , , CC: Subject: [PATCH 2/6] mmc: sdhci-tegra: use true,false for bool variable Date: Tue, 24 Dec 2019 15:32:11 +0800 Message-ID: <1577172735-18869-3-git-send-email-zhengbin13@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1577172735-18869-1-git-send-email-zhengbin13@huawei.com> References: <1577172735-18869-1-git-send-email-zhengbin13@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.90.53.225] 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: drivers/mmc/host/sdhci-tegra.c:241:6-19: WARNING: Assignment of 0/1 to bool variable Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/mmc/host/sdhci-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index 7bc9505..af91250 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -238,7 +238,7 @@ static bool tegra_sdhci_configure_card_clk(struct sdhci_host *host, bool enable) static void tegra210_sdhci_writew(struct sdhci_host *host, u16 val, int reg) { - bool is_tuning_cmd = 0; + bool is_tuning_cmd = false; bool clk_enabled; u8 cmd; -- 2.7.4