mirror of https://github.com/torvalds/linux.git
Fix multiple fwnode reference leaks: 1. The function calls fwnode_get_named_child_node() to get the "leds" node, but never calls fwnode_handle_put(leds) to release this reference. 2. Within the fwnode_for_each_child_node() loop, the early return paths that don't properly release the "led" fwnode reference. This fix follows the same pattern as commit |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| chip.c | ||
| chip.h | ||
| devlink.c | ||
| devlink.h | ||
| global1.c | ||
| global1.h | ||
| global1_atu.c | ||
| global1_vtu.c | ||
| global2.c | ||
| global2.h | ||
| global2_avb.c | ||
| global2_scratch.c | ||
| hwtstamp.c | ||
| hwtstamp.h | ||
| leds.c | ||
| pcs-639x.c | ||
| pcs-6185.c | ||
| pcs-6352.c | ||
| phy.c | ||
| phy.h | ||
| port.c | ||
| port.h | ||
| port_hidden.c | ||
| ptp.c | ||
| ptp.h | ||
| serdes.c | ||
| serdes.h | ||
| smi.c | ||
| smi.h | ||
| switchdev.c | ||
| switchdev.h | ||
| trace.c | ||
| trace.h | ||