]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: Change return codes from net/eth.c to use errorno constants
authorJoe Hershberger <joe.hershberger@ni.com>
Sun, 22 Mar 2015 22:09:04 +0000 (17:09 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:30 +0000 (21:47 +0200)
commitefc1a1bbe3ecae3c09df586c76da4b3e37190990
tree74ad663c6b117f62b8bbb763be271911b1b8897d
parentfb91891846fa48e6474fb1384d9aa0961f73bf6a
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>
net/eth.c