projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
304419d
)
mmc: block: Tag is_rpmb as bool
author
Linus Walleij
<linus.walleij@linaro.org>
Thu, 18 May 2017 09:29:33 +0000
(11:29 +0200)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:18 +0000
(10:30 +0200)
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>
drivers/mmc/core/block.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/core/block.c
b/drivers/mmc/core/block.c
index 5f29b56252161cff7224e643e8f2213078d3ba0f..f4dab1dfd2ab74d4b0285e17cb1bb63699b789b7 100644
(file)
--- 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)