commit | bdfd6304c8e2439fc047fafccf05f145004260bd | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue Oct 08 11:19:19 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 08 16:33:50 2013 -0400 |
tree | 4e9638f5b0d5dd27832f7ee76e18cc82d126bc3d | |
parent | c33a39c575068c2ea9bffb22fd6de2df19c74b89 [diff] |
moxa: fix the error handling in moxart_mac_probe() This patch fix the error handling in moxart_mac_probe(): - return -ENOMEM in some memory alloc fail cases - add missing free_netdev() in the error handling case Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>