1dec67e0d9
In mac_probe() there are multiple calls to of_find_device_by_node(),
fman_bind() and fman_port_bind() which takes references to of_dev->dev.
Not all references taken by these calls are released later on error path
in mac_probe() and in mac_remove() which lead to reference leaks.
Add references release.
Fixes:
|
||
---|---|---|
.. | ||
fman_dtsec.c | ||
fman_dtsec.h | ||
fman_keygen.c | ||
fman_keygen.h | ||
fman_mac.h | ||
fman_memac.c | ||
fman_memac.h | ||
fman_muram.c | ||
fman_muram.h | ||
fman_port.c | ||
fman_port.h | ||
fman_sp.c | ||
fman_sp.h | ||
fman_tgec.c | ||
fman_tgec.h | ||
fman.c | ||
fman.h | ||
Kconfig | ||
mac.c | ||
mac.h | ||
Makefile |