diff options
author | Wei Yongjun <[email protected]> | 2013-10-08 11:19:19 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-10-08 16:33:50 -0400 |
commit | bdfd6304c8e2439fc047fafccf05f145004260bd (patch) | |
tree | 4e9638f5b0d5dd27832f7ee76e18cc82d126bc3d /scripts/patch-kernel | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions