Commit 829043c4 authored by Linus Walleij's avatar Linus Walleij Committed by Ulf Hansson

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: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 304419d8
...@@ -443,7 +443,7 @@ static int __mmc_blk_ioctl_cmd(struct mmc_card *card, struct mmc_blk_data *md, ...@@ -443,7 +443,7 @@ static int __mmc_blk_ioctl_cmd(struct mmc_card *card, struct mmc_blk_data *md,
struct mmc_request mrq = {}; struct mmc_request mrq = {};
struct scatterlist sg; struct scatterlist sg;
int err; int err;
int is_rpmb = false; bool is_rpmb = false;
u32 status = 0; u32 status = 0;
if (!card || !md || !idata) if (!card || !md || !idata)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment