mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
63ba2d07b4
chameleon_parse_gdd() may fail for different reasons and end up
in the err tag. Make sure we at least always free the mcb_device
allocated with mcb_alloc_dev().
If mcb_device_register() fails, make sure to give up the reference
in the same place the device was added.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mcb-core.c | ||
mcb-internal.h | ||
mcb-lpc.c | ||
mcb-parse.c | ||
mcb-pci.c |