Re: [PATCH] kmalloc() bug in pci-dma.c
From: James Bottomley
Date: Sat Feb 12 2005 - 10:13:03 EST
On Fri, 2005-02-11 at 17:24 -0800, Venkatesh Pallipadi wrote:
> After burning my fingers with a similar mistake in one of the patches
> that I am working on, I did a quick grep to find out all faulty kmalloc()
> calls and found this.
>
> dma_declare_coherent_memory() is calling kmalloc with wrong arguments.
> Attached patch fixes this.
Oh Wow, did I really do that ... brown paper bag time for me, I suppose.
> Please apply.
Andrew, please put it in.
James
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/