Re: [U-Boot] [PATCH v7 27/27] net: Improve error handling

2015-03-23 Thread Simon Glass
On 22 March 2015 at 16:09, Joe Hershberger wrote: > Take a pass at plumbing errors through to the users of the network stack > > Currently only the start() function errors will be returned from > NetLoop(). recv() tends not to have errors, so that is likely not worth > adding. send() certainly can

[U-Boot] [PATCH v7 27/27] net: Improve error handling

2015-03-22 Thread Joe Hershberger
Take a pass at plumbing errors through to the users of the network stack Currently only the start() function errors will be returned from NetLoop(). recv() tends not to have errors, so that is likely not worth adding. send() certainly can return errors, but this patch does not attempt to plumb the