]> git.karo-electronics.de Git - linux-beck.git/commit
net: mvpp2: Fix error return code in mvpp2_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 20 Jul 2014 14:02:43 +0000 (22:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 05:26:58 +0000 (22:26 -0700)
commit575a19354c80fde236382755592256d30d2a27fb
treebb842b39b17680dd8cae784820fdb2bfbd3ac625
parent468f8646df637e3e298e9c3d87211bf1b045c321
net: mvpp2: Fix error return code in mvpp2_probe()

Fix to return -ENODEV from the no ports enabled error handling
case instead of 0.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c