aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-core.h
diff options
context:
space:
mode:
authorJavier Carrasco <[email protected]>2024-10-19 20:16:49 +0000
committerDavid S. Miller <[email protected]>2024-10-28 13:27:34 +0000
commitb8ee7a11c75436b85fa1641aa5f970de0f8a575c (patch)
tree68199af684014a968715a0e6317ee5cfb3cb9974 /drivers/fpga/xilinx-core.h
parentbareudp: Use pcpu stats to update rx_dropped counter. (diff)
downloadkernel-b8ee7a11c75436b85fa1641aa5f970de0f8a575c.tar.gz
kernel-b8ee7a11c75436b85fa1641aa5f970de0f8a575c.zip
net: dsa: mv88e6xxx: fix unreleased fwnode_handle in setup_port()
'ports_fwnode' is initialized via device_get_named_child_node(), which requires a call to fwnode_handle_put() when the variable is no longer required to avoid leaking memory. Add the missing fwnode_handle_put() after 'ports_fwnode' has been used and is no longer required. Fixes: 94a2a84f5e9e ("net: dsa: mv88e6xxx: Support LED control") Signed-off-by: Javier Carrasco <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-core.h')
0 files changed, 0 insertions, 0 deletions