[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <A360F954C61C69449463B060666371128EB376B4@CDCEXMBX02.tw.trendnet.org>
Date: Tue, 8 Oct 2013 03:29:07 +0000
From: "yongjun_wei@...ndmicro.com.cn" <yongjun_wei@...ndmicro.com.cn>
To: Wei Yongjun <weiyj.lk@...il.com>,
"grant.likely@...aro.org" <grant.likely@...aro.org>,
"rob.herring@...xeda.com" <rob.herring@...xeda.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"jg1.han@...sung.com" <jg1.han@...sung.com>,
"b.zolnierkie@...sung.com" <b.zolnierkie@...sung.com>,
"kyungmin.park@...sung.com" <kyungmin.park@...sung.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH] moxa: fix the error handling in moxart_mac_probe()
Sorry, this mail is dup by mail server, please ignore it, thanks.
-----Original Message-----
From: Wei Yongjun [mailto:weiyj.lk@...il.com]
Sent: 2013年10月8日 11:27
To: grant.likely@...aro.org; rob.herring@...xeda.com; davem@...emloft.net; jg1.han@...sung.com; b.zolnierkie@...sung.com; kyungmin.park@...sung.com
Cc: Yongjun Wei (RD-CN); netdev@...r.kernel.org
Subject: [PATCH] moxa: fix the error handling in moxart_mac_probe()
From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
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@...ndmicro.com.cn>
<table class="TM_EMAIL_NOTICE"><tr><td><pre>
TREND MICRO EMAIL NOTICE
The information contained in this email and any attachments is confidential
and may be subject to copyright or other intellectual property protection.
If you are not the intended recipient, you are not authorized to use or
disclose this information, and we request that you notify us by reply mail or
telephone and delete the original message from your mail system.
</pre></td></tr></table>
Powered by blists - more mailing lists