diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-05-18 11:29:33 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-06-20 10:30:18 +0200 |
commit | 829043c48e5d7169d45a04027a787b55133f4cf6 (patch) | |
tree | bb64d408f2a01074defacd425046bd6c4caae654 | |
parent | 304419d8a7e9204c5d19b704467b814df8c8f5b1 (diff) | |
download | linux-stable-829043c48e5d7169d45a04027a787b55133f4cf6.tar.gz linux-stable-829043c48e5d7169d45a04027a787b55133f4cf6.tar.bz2 linux-stable-829043c48e5d7169d45a04027a787b55133f4cf6.zip |
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 <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | drivers/mmc/core/block.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |