commit | 97fff7c8de1e54e5326dfeb66085796864bceb64 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Mon Apr 27 10:43:22 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 30 20:40:31 2020 -0700 |
tree | bad6320718b85579c30c8490180bcce1ec9fc22a | |
parent | c4db9934a33e5f276965a14b3eea7a6d64c85065 [diff] |
dpaa2-eth: fix error return code in setup_dpni() Fix to return negative error code -ENOMEM 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>