projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e14354
)
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
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:18 +0000
(15:38 -0500)
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>
(cherry picked from commit
829043c48e5d7169d45a04027a787b55133f4cf6
)
drivers/mmc/core/block.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/block.c
b/drivers/mmc/core/block.c
index
cbb5798
..
b07bcc7
100644
(file)
--- a/
drivers/mmc/core/block.c
+++ b/
drivers/mmc/core/block.c
@@
-448,7
+448,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)