Re: [PATCH] mptctl.c memory leak on failure

2001-01-07 Thread Arnaldo Carvalho de Melo
Em Sun, Jan 07, 2001 at 01:37:15PM +, Alan Cox escreveu: > > kmalloc and the comment: the buffer is used for DMA but the kmalloc doesn't > > has GFP_DMA, maybe I'm missing something here, its about time for me to > > It should be kmalloc (or 2.4 wise pci_alloc_* I guess eventually). Its drive

Re: [PATCH] mptctl.c memory leak on failure

2001-01-07 Thread Alan Cox
> kmalloc and the comment: the buffer is used for DMA but the kmalloc doesn't > has GFP_DMA, maybe I'm missing something here, its about time for me to It should be kmalloc (or 2.4 wise pci_alloc_* I guess eventually). Its driven by 32bit busmaster DMA. Its non ISA so it doesnt need GFP_DMA - To