mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 |
||
|---|---|---|
| .. | ||
| jazzsonic.c | ||
| Kconfig | ||
| macsonic.c | ||
| Makefile | ||
| natsemi.c | ||
| ns83820.c | ||
| sonic.c | ||
| sonic.h | ||
| xtsonic.c | ||