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

From: David Miller
Date: Tue Jul 19 2016 - 14:31:12 EST


From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
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 <christophe.jaillet@xxxxxxxxxx>

Applied.