projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: pcnet: fix I/O primitives for memory access
[oweals/u-boot.git]
/
cmd
/
thordown.c
diff --git
a/cmd/thordown.c
b/cmd/thordown.c
index 19ae6721d19a60460a184d70ca5d0a8a382cca03..8dae024e31db2bc601c617c4a302932a66a5e4bf 100644
(file)
--- a/
cmd/thordown.c
+++ b/
cmd/thordown.c
@@
-37,7
+37,12
@@
int do_thor_down(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
goto exit;
}
- g_dnl_register("usb_dnl_thor");
+ ret = g_dnl_register("usb_dnl_thor");
+ if (ret) {
+ pr_err("g_dnl_register failed %d\n", ret);
+ ret = CMD_RET_FAILURE;
+ goto exit;
+ }
ret = thor_init();
if (ret) {