mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
If of_device_register() returns error, the of node and the
name allocated in dev_set_name() is leaked, call put_device()
to give up the reference that was set in device_initialize(),
so that of node is put in logical_port_release() and the name
is freed in kobject_cleanup().
Fixes:
|
||
|---|---|---|
| .. | ||
| ehea_ethtool.c | ||
| ehea_hw.h | ||
| ehea_main.c | ||
| ehea_phyp.c | ||
| ehea_phyp.h | ||
| ehea_qmr.c | ||
| ehea_qmr.h | ||
| ehea.h | ||
| Makefile | ||