Skip to content

Commit

Permalink
mmc: block: Tag is_rpmb as bool
Browse files Browse the repository at this point in the history
The variable is_rpmb is clearly a bool and even assigned true
and false, yet declared as an int.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  • Loading branch information
Linus Walleij authored and Ulf Hansson committed Jun 20, 2017
1 parent 304419d commit 829043c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/core/block.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 829043c

Please sign in to comment.