commit | d0ce341eff11a8407e4ba728147f42fb0cdc2855 | [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 | e1e8a8c66e21368a6dc8a81542ca108de695c1cc [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>