]> git.baikalelectronics.ru Git - kernel.git/commit
net: eth: altera: Fix error return code in altera_tse_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 22 Oct 2016 14:28:38 +0000 (14:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Oct 2016 21:21:59 +0000 (17:21 -0400)
commit2fde170192b4e7afc5d43960081a9ee21715f50c
tree652e4ed0d4dba46af222c5189c757d590717532d
parent317eea26eeb21d38cb8d37bcb06ca161427a6bc0
net: eth: altera: Fix error return code in altera_tse_probe()

Fix to return error code -EINVAL from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/altera/altera_tse_main.c