Re: [PATCH] kmalloc() bug in pci-dma.c

2005-02-12 Thread James Bottomley
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

Re: [PATCH] kmalloc() bug in pci-dma.c

2005-02-12 Thread James Bottomley
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

Re: [PATCH] kmalloc() bug in pci-dma.c

2005-02-11 Thread Andrew Morton
Venkatesh Pallipadi <[EMAIL PROTECTED]> 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

[PATCH] kmalloc() bug in pci-dma.c

2005-02-11 Thread Venkatesh Pallipadi
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. Please apply. Thanks, Venki

[PATCH] kmalloc() bug in pci-dma.c

2005-02-11 Thread Venkatesh Pallipadi
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. Please apply. Thanks, Venki

Re: [PATCH] kmalloc() bug in pci-dma.c

2005-02-11 Thread Andrew Morton
Venkatesh Pallipadi [EMAIL PROTECTED] 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.