diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2017-11-29 22:54:24 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-12-11 12:47:25 +0100 |
commit | aa95014445769f3ac204f85ff85efe11bbd0bc8c (patch) | |
tree | fa84641409308a01b105c237076493cc457d1ab7 /drivers/acpi/acpi_cmos_rtc.c | |
parent | mmc: mmc_test: Do not use mmc_start_areq() anymore (diff) | |
download | linux-aa95014445769f3ac204f85ff85efe11bbd0bc8c.tar.xz linux-aa95014445769f3ac204f85ff85efe11bbd0bc8c.zip |
mmc: block: blk-mq: fix boolreturn.cocci warnings
drivers/mmc/core/block.c:2106:9-10: WARNING: return of 0/1 in function 'mmc_blk_status_error' with return type bool
Return statements in functions returning bool should use
true/false instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci
Fixes:7eb43d537166 ("mmc: block: blk-mq: Stop using legacy recovery")
CC: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/acpi/acpi_cmos_rtc.c')
0 files changed, 0 insertions, 0 deletions