mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
728ac33892
If mcb_device_register() returns error in chameleon_parse_gdd(), the refcount
of bus and device name are leaked. Fix this by calling put_device() to give up
the reference, so they can be released in mcb_release_dev() and kobject_cleanup().
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mcb-core.c | ||
mcb-internal.h | ||
mcb-lpc.c | ||
mcb-parse.c | ||
mcb-pci.c |