mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 17:23:25 -05:00
3c62fd3406
In order to free resources correctly in the error handling path of
pt_core_init(), 2 goto's have to be switched. Otherwise, some resources
will leak and we will try to release things that have not been allocated
yet.
Also move a dev_err() to a place where it is more meaningful.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ptdma-debugfs.c | ||
ptdma-dev.c | ||
ptdma-dmaengine.c | ||
ptdma-pci.c | ||
ptdma.h |