amd-xgbe: Fix error return code in xgbe_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 23 Jul 2014 00:59:40 +0000 (08:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jul 2014 21:54:12 +0000 (14:54 -0700)
commit332cfc823d182d43bfcc80d1ebee7ab79e06ccf3
treef3024c505874a4de563b07a10f8cadbc61a23305
parent474ea9cafc459976827a477f2c30eaf6313cb7c1
amd-xgbe: Fix error return code in xgbe_probe()

Fix to return a negative error code from the setting real tx queue
count error handling case instead of 0.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-main.c