10e3cc180e
A call to 'dma_alloc_coherent()' is hidden in 'sonic_alloc_descriptors()',
called from 'sonic_probe1()'.
This is correctly freed in the remove function, but not in the error
handling path of the probe function.
Fix it and add the missing 'dma_free_coherent()' call.
While at it, rename a label in order to be slightly more informative.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
jazzsonic.c | ||
macsonic.c | ||
natsemi.c | ||
ns83820.c | ||
sonic.c | ||
sonic.h | ||
xtsonic.c |