check for the return status for eth_getenv_enetaddr_by_index()
and eth_setenv_enetaddr() functions and print appropriate message
on failure. Also convert debug message to printf().
Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com
Cc: Tom Rini tr...@ti.com
---
On Monday 06 February 2012 04:59:53 Manjunath Hadli wrote:
--- a/arch/arm/cpu/arm926ejs/davinci/misc.c
+++ b/arch/arm/cpu/arm926ejs/davinci/misc.c
+ ret = eth_getenv_enetaddr_by_index(eth, 0, env_enetaddr);
+ if (ret !memcmp(env_enetaddr, \0\0\0\0\0\0, 6)) {
i don't think the
2 matches
Mail list logo