From: Wei Yongjun Date: Tue, 8 Oct 2013 03:19:19 +0000 (+0800) Subject: moxa: fix the error handling in moxart_mac_probe() X-Git-Tag: v3.12-rc7~20^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdfd6304c8e2439fc047fafccf05f145004260bd;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed