]> git.dujemihanovic.xyz Git - u-boot.git/commit
net/fm: Make the return value logic consistent with convention
authorHou Zhiqiang <B48286@freescale.com>
Mon, 26 Oct 2015 11:47:45 +0000 (19:47 +0800)
committerYork Sun <yorksun@freescale.com>
Thu, 29 Oct 2015 17:33:59 +0000 (10:33 -0700)
commit0f2cb9f5a0743f19a4c1d0f7e6506537dd6ef78d
treeaef785211867fe99e967c4ad4279491b993b8fc5
parent9fc29db116d147adbee0ad07b0e72a657f961305
net/fm: Make the return value logic consistent with convention

In convention, the '0' is a normal return value indicating there isn't
an error. While some functions of FMan IM driver treat '0' as an error
return value.

Signed-off-by: Hou Zhiqiang <B48286@freescale.com>
Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/fm/eth.c