Message ID | 1577172735-18869-2-git-send-email-zhengbin13@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | mmc: use true,false for bool variable | expand |
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,
Fixes coccicheck warning: drivers/mmc/core/core.c:60:5-16: WARNING: Assignment of 0/1 to bool variable Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> --- drivers/mmc/core/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4