[U-Boot] [PATCH] [v3] tsec: fix the return value for tsec_eth_init()

2010-06-08 Thread Timur Tabi
The Ethernet initialization functions are supposed to return the number of devices initialized, so fix tsec_eth_init() so that they returns the number of TSECs initialized, instead of just zero. This is safe because the return value is currently ignored by all callers, but now they don't have to i

Re: [U-Boot] [PATCH] [v3] tsec: fix the return value for tsec_eth_init()

2010-06-20 Thread Ben Warren
Timur, On 6/8/2010 6:21 AM, Timur Tabi wrote: > The Ethernet initialization functions are supposed to return the number of > devices initialized, so fix tsec_eth_init() so that they returns the number of > TSECs initialized, instead of just zero. This is safe because the return > value > is curre