aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorJavier Carrasco <[email protected]>2024-10-19 20:27:03 +0000
committerRichard Weinberger <[email protected]>2024-11-14 18:52:14 +0000
commit07593293ffabba14125c8998525adde5a832bfa3 (patch)
tree89dfd3fdb7d95a730f1449560c3eecbb581f0fe8 /drivers/cdx/controller/cdx_controller.c
parentubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit (diff)
downloadkernel-07593293ffabba14125c8998525adde5a832bfa3.tar.gz
kernel-07593293ffabba14125c8998525adde5a832bfa3.zip
mtd: ubi: fix unreleased fwnode_handle in find_volume_fwnode()
The 'fw_vols' fwnode_handle initialized via device_get_named_child_node() requires explicit calls to fwnode_handle_put() when the variable is no longer required. Add the missing calls to fwnode_handle_put() before the function returns. Cc: [email protected] Fixes: 51932f9fc487 ("mtd: ubi: populate ubi volume fwnode") Signed-off-by: Javier Carrasco <[email protected]> Reviewed-by: Zhihao Cheng <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions