diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-17 17:19:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-17 19:16:52 +0200 |
commit | 3f3177bb680fc08300e6f2341f44755ff90a358a (patch) | |
tree | e69a59795438a05ccca8fd77549a3474801b3c86 /net | |
parent | net: report right mtu value in error message (diff) | |
download | linux-3f3177bb680fc08300e6f2341f44755ff90a358a.tar.xz linux-3f3177bb680fc08300e6f2341f44755ff90a358a.zip |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions