[U-Boot-Users] [PATCH] Fix Ethernet init() return codes

Ben Warren biggerbadderben at gmail.com
Tue Jan 8 23:02:35 CET 2008


Ben Warren wrote:
> Change return values of init() functions in all Ethernet drivers to 
> conform
> to the following:
>
>> =0: Success
> <0:  Failure
>
> All drivers going forward should return 0 on success.  Current drivers 
> that
> return 1 on success were left as-is to minimize changes.
>
> Signed-off-by: Ben Warren <biggerbadderben at gmail.com>
> -
<snip>

This patch requires a lot of scrutiny, since it's pretty far-reaching 
and I obviously can't test all the drivers that were affected.  If as 
many people as possible can test that would be great.  Alternatively, we 
can pull the patch that caused this mess in the first place.

regards,
Ben




More information about the U-Boot mailing list