| To: | Julia Lawall <julia@diku.dk> |
|---|---|
| Subject: | Re: [PATCH 6/7] drivers/serial/ioc3_serial.c: Return -ENOMEM on memory allocation failure |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Fri, 15 Oct 2010 15:08:19 +0100 |
| Cc: | Pat Gefre <pfg@sgi.com>, kernel-janitors@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org |
| In-reply-to: | <1287147610-8041-6-git-send-email-julia@diku.dk> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1287147610-8041-6-git-send-email-julia@diku.dk> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Fri, Oct 15, 2010 at 03:00:09PM +0200, Julia Lawall wrote: > From: Julia Lawall <julia@diku.dk> > > In this code, 0 is returned on memory allocation failure, even though other > failures return -ENOMEM or other similar values. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) Dunno why linux-mips rsp. myself keep receiving patches for the ioc3 serial driver - it's only being used on SGI IA64 machines. Either way, I'm willing to funnel this patch upstream - I'm building a pull rq for tonight anyway. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 6/7] drivers/serial/ioc3_serial.c: Return -ENOMEM on memory allocation failure, Julia Lawall |
|---|---|
| Next by Date: | Re: [PATCH 5/5] mips: do_sigaltstack() expects userland pointers, Ralf Baechle |
| Previous by Thread: | [PATCH 6/7] drivers/serial/ioc3_serial.c: Return -ENOMEM on memory allocation failure, Julia Lawall |
| Next by Thread: | Re: [PATCH] MIPS: Fixes "make clean", Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |