projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4293b5f
)
cmd/nfsdown: fix wrong null check for argument in do_mmc_init()
author
Seung-Woo Kim
<sw0312.kim@samsung.com>
Mon, 23 Mar 2020 09:07:32 +0000
(18:07 +0900)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Tue, 20 Oct 2020 06:13:49 +0000
(15:13 +0900)
In do_mmc_init(), there is wrong null check for argument
instead of find_mmc_device() result. Fix wrong null check.
Change-Id: Ibbd2781bed7ae1a812563a5d77b2a4c46cf66523
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
cmd/nfsdown.c
patch
|
blob
|
history
diff --git
a/cmd/nfsdown.c
b/cmd/nfsdown.c
index d3cde78e4c7966e87c454f2e26fabd1b4ff7a6e9..4122b04c6ab07137b43abd57d42f7b1119802965 100644
(file)
--- a/
cmd/nfsdown.c
+++ b/
cmd/nfsdown.c
@@
-136,7
+136,7
@@
static int do_mmc_init(struct mmc **mmc)
int ret;
*mmc = find_mmc_device(0);
- if (!mmc) {
+ if (!
*
mmc) {
printk("Couldn't find MMC device no. 0.\n");
return -ENODEV;
}