mirror of https://gitee.com/openkylin/linux.git
0f7ba7bc46
A call to dma_alloc_coherent() is wrapped by sonic_alloc_descriptors(). This is correctly freed in the remove function, but not in the error handling path of the probe function. Fix this by adding the missing dma_free_coherent() call. While at it, rename a label in order to be slightly more informative. Cc: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Cc: Chris Zankel <chris@zankel.net> References: commit |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
jazzsonic.c | ||
macsonic.c | ||
natsemi.c | ||
ns83820.c | ||
sonic.c | ||
sonic.h | ||
xtsonic.c |