diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-10-08 11:19:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-08 16:33:50 -0400 |
commit | bdfd6304c8e2439fc047fafccf05f145004260bd (patch) | |
tree | 4e9638f5b0d5dd27832f7ee76e18cc82d126bc3d /kernel/relay.c | |
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>
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions