From: Linus Walleij Date: Thu, 18 May 2017 09:29:33 +0000 (+0200) Subject: mmc: block: Tag is_rpmb as bool X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=829043c48e5d7169d45a04027a787b55133f4cf6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mmc: block: Tag is_rpmb as bool The variable is_rpmb is clearly a bool and even assigned true and false, yet declared as an int. Signed-off-by: Linus Walleij Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index 5f29b5625216..f4dab1dfd2ab 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core/block.c @@ -443,7 +443,7 @@ static int __mmc_blk_ioctl_cmd(struct mmc_card *card, struct mmc_blk_data *md, struct mmc_request mrq = {}; struct scatterlist sg; int err; - int is_rpmb = false; + bool is_rpmb = false; u32 status = 0; if (!card || !md || !idata)