diff options
author | Liang He <[email protected]> | 2023-03-22 11:04:23 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-08-25 08:39:30 +1000 |
commit | b9bbbf4979073d5536b7650decd37fcb901e6556 (patch) | |
tree | e2a715ce225d60be80fcaf9b82ecd0c4dcb794e7 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | cdebfd27292ecdebe7d493830354e302368b3188 (diff) |
powerpc/mpc5xxx: Add missing fwnode_handle_put()
In mpc5xxx_fwnode_get_bus_frequency(), we should add
fwnode_handle_put() when break out of the iteration
fwnode_for_each_parent_node() as it will automatically
increase and decrease the refcounter.
Fixes: de06fba62af6 ("powerpc/mpc5xxx: Switch mpc5xxx_get_bus_frequency() to use fwnode")
Signed-off-by: Liang He <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions