commit | 05324a488b09c57e7bcc70ae528cd7c098c3e3d3 | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Sun Mar 22 17:09:04 2015 -0500 |
committer | Simon Glass <sjg@chromium.org> | Sat Apr 18 11:11:11 2015 -0600 |
tree | 19db2fc3fb8e066f95a48bc2aca03400290d4a9a | |
parent | 84eb1fba7b50aea7807c85258ced2c2be7dca18f [diff] |
net: Change return codes from net/eth.c to use errorno constants Many functions returned -1 previously. Change them to return appropriate error codes. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reported-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>