On Fri, Jul 20, 2012 at 06:18:46PM +0300, Dan Carpenter wrote:
On Fri, Jul 20, 2012 at 08:00:42AM -0700, Greg Kroah-Hartman wrote:
On Fri, Jul 20, 2012 at 09:56:23AM +0300, Dan Carpenter wrote:
What prompted this patch is that in dma_pool_create() we call
dev_to_node() before checking
What prompted this patch is that in dma_pool_create() we call
dev_to_node() before checking whether dev is NULL. It looks like
there are places which call dma_pool_create() with a NULL pointer. An
example is in drivers/usb/gadget/amd5536udc.c.
Signed-off-by: Dan Carpenter
On Fri, Jul 20, 2012 at 08:00:42AM -0700, Greg Kroah-Hartman wrote:
On Fri, Jul 20, 2012 at 09:56:23AM +0300, Dan Carpenter wrote:
What prompted this patch is that in dma_pool_create() we call
dev_to_node() before checking whether dev is NULL. It looks like
there are places which call