projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b15a25
)
usb: Correct return value in usb_stor_info()
author
Simon Glass
<sjg@chromium.org>
Wed, 16 Mar 2016 13:45:44 +0000
(07:45 -0600)
committer
Tom Rini
<trini@konsulko.com>
Tue, 22 Mar 2016 16:16:28 +0000
(12:16 -0400)
This should return 0 on success, not 1. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/usb_storage.c
patch
|
blob
|
history
diff --git
a/common/usb_storage.c
b/common/usb_storage.c
index 83c8607cf4fcaef8016d770425bb5dc3984bfdfb..9285c95c0553b719016f6edf38ecc6c82f486c74 100644
(file)
--- a/
common/usb_storage.c
+++ b/
common/usb_storage.c
@@
-193,7
+193,7
@@
int usb_stor_info(void)
return 1;
}
- return
1
;
+ return
0
;
}
static unsigned int usb_get_max_lun(struct us_data *us)