commit | 3f3177bb680fc08300e6f2341f44755ff90a358a | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Mon Oct 17 15:19:56 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 17 13:16:52 2016 -0400 |
tree | e69a59795438a05ccca8fd77549a3474801b3c86 | |
parent | a0e65de71527477b100afe1e9ab2667d70f94d9e [diff] |
fsl/fman: fix error return code in mac_probe() Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 3933961682a3 ("fsl/fman: Add FMan MAC driver") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>