Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7301234ybl; Mon, 23 Dec 2019 23:26:45 -0800 (PST) X-Google-Smtp-Source: APXvYqwdRT2uaHiGxuN1JXsa3qY/2M1tysdjiRgfwTcHvJUZrnIqLTrexyQHH1T0u7VwlPmf1/H1 X-Received: by 2002:a05:6830:1e16:: with SMTP id s22mr25523804otr.340.1577172405730; 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=BYGZoW1dXb7PzNrUyIX0z5bqPn7DUhCGJt+erGWjQBy+NkSQjJgfxEJQBpv9VnfWOx eijsLN8jZ8Lz30PcoI0P2zO/I0C88t5UC5H/E/b6qdJ126zvqhWcQKpBebkZWgHnjCpL pknN++yDsN0SlZcVYL1zBT8SPgRerw9RZezlXdy1f3rk8Emq8YAFc/mT2qhg0bJPytmr X2H7Uo4/x61Hm6Nr+xjvn6gYb0dso8Ybb+2UwkNGDBh4QRGsiGGwIEBrDMDXCgk6x+pB BRDU6eRUKMwqVHsiyXp3ogQzgFKwlfRQ9Vo3BmI7TxSvUHQCg0kfZl90agGbMWifZnqb 3lnw== 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=hEHXhWuGq409LvzNKLgUwbMJR2XblDXXKHHGJZ9exH8=; b=wrr2/H9RKaAAYMh77e6nL7zk4S2V23EBH48kfEVrOYH80IgLe5CP/dtG/dd4OfM0Hq DEo7oIi0xaya1vOjYEANoz3mI/Xj/XCH+FgEgCM8dkugTqzUzwxsf9fMsjfl58IAw0r4 12SgsITxk1R8LDp/66UFn3ExUZaKxmTqUjWe2Fb3h6sFNwD5+UWq7KfeTFgFX766A+5A 4u9Ya29ISf0CtKgcKOpXEppYPCDA93emA9WZnNAEX/mo+UTaYr5li1yTQk6y/wEpCjBk TJ54Z843Lq1JIo+gcpNxhIvlfyxc+6OsuLu94NNCw7UDSeR4cEf1ZEn0DBMQyBjWpFrf HpJw== 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 m19si10350452oig.91.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 S1726322AbfLXHZK (ORCPT + 99 others); Tue, 24 Dec 2019 02:25:10 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:7744 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726201AbfLXHZH (ORCPT ); Tue, 24 Dec 2019 02:25:07 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id ABC8499E2679293C035C; 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 1/6] mmc: core: use true,false for bool variable Date: Tue, 24 Dec 2019 15:32:10 +0800 Message-ID: <1577172735-18869-2-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/core/core.c:60:5-16: WARNING: Assignment of 0/1 to bool variable Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/mmc/core/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index abf8f5e..be06320 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -57,7 +57,7 @@ static const unsigned freqs[] = { 400000, 300000, 200000, 100000 }; * performance cost, and for other reasons may not always be desired. * So we allow it it to be disabled. */ -bool use_spi_crc = 1; +bool use_spi_crc = true; module_param(use_spi_crc, bool, 0); static int mmc_schedule_delayed_work(struct delayed_work *work, -- 2.7.4