Re: [PATCH] drivers: atm: nicstar: Use the correct function to free some resources

2016-07-19 Thread David Miller
From: Christophe JAILLET Date: Sun, 17 Jul 2016 09:03:24 +0200 > In 'get_scq', 'dma_alloc_coherent' has been used to allocate some > resources, so we need to free them using 'dma_free_coherent' instead > of 'kfree'. > > Signed-off-by: Christophe JAILLET

[PATCH] drivers: atm: nicstar: Use the correct function to free some resources

2016-07-17 Thread Christophe JAILLET
In 'get_scq', 'dma_alloc_coherent' has been used to allocate some resources, so we need to free them using 'dma_free_coherent' instead of 'kfree'. Signed-off-by: Christophe JAILLET --- drivers/atm/nicstar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)