Re: [U-Boot] [PATCH] usb: ums: add error handling for failed registration

2014-05-05 Thread Lukasz Majewski
Hi Marek, > On Thursday, May 01, 2014 at 11:42:10 PM, Stephen Warren wrote: > > From: Stephen Warren > > > > Without this, if g_dnl_register() fails, the UMS code continues on > > blindly and crashes. This fix makes it simply print an error message > > instead. > > > > Signed-off-by: Stephen Wa

Re: [U-Boot] [PATCH] usb: ums: add error handling for failed registration

2014-05-05 Thread Marek Vasut
On Thursday, May 01, 2014 at 11:42:10 PM, Stephen Warren wrote: > From: Stephen Warren > > Without this, if g_dnl_register() fails, the UMS code continues on > blindly and crashes. This fix makes it simply print an error message > instead. > > Signed-off-by: Stephen Warren Acked-by: Marek Vasu

[U-Boot] [PATCH] usb: ums: add error handling for failed registration

2014-05-01 Thread Stephen Warren
From: Stephen Warren Without this, if g_dnl_register() fails, the UMS code continues on blindly and crashes. This fix makes it simply print an error message instead. Signed-off-by: Stephen Warren --- common/cmd_usb_mass_storage.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff