
15 Nov
2010
15 Nov
'10
12:01 a.m.
Dear Ben Warren,
In message 1283321104-953-2-git-send-email-biggerbadderben@gmail.com you wrote:
This has always been confusing, and the idea of these functions returning the number of interfaces initialized was half-baked and ultimately pointless. Instead, act more like regular functions and return < 0 on failure, >= 0 on success.
This change shouldn't break anything.
Signed-off-by: Ben Warren biggerbadderben@gmail.com
net/eth.c | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
He is truly wise who gains wisdom from another's mishap.