CC: [email protected] CC: [email protected] TO: Jianqiang Chen <[email protected]> CC: Michal Simek <[email protected]> CC: Hyun Kwon <[email protected]> CC: Laurent Pinchart <[email protected]> CC: David Airlie <[email protected]> CC: Daniel Vetter <[email protected]> CC: [email protected] CC: [email protected] CC: [email protected]
From: kernel test robot <[email protected]> drivers/gpu/drm/xlnx/zynqmp_dp.c:1965:1-23: WARNING: Function "for_each_child_of_node" should have of_node_put() before break around line 1970. Semantic patch information: False positives can be due to function calls within the for_each loop that may encapsulate an of_node_put. Generated by: scripts/coccinelle/iterators/for_each_child.cocci CC: Jianqiang Chen <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: kernel test robot <[email protected]> --- tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15 head: 1183ce490adb103e5e569b8ebd74c50c885ddc05 commit: 2d2fa5c476daa40a5aac243bd776cab2568c7111 [797/872] drm: xlnx: Update DP subsystem with downstream version :::::: branch date: 4 days ago :::::: commit date: 4 days ago Please take the patch only if it's a positive warning. Thanks! zynqmp_dp.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/xlnx/zynqmp_dp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c @@ -1967,6 +1967,7 @@ int zynqmp_dp_probe(struct platform_devi continue; dpsub->external_crtc_attached = true; + of_node_put(port); break; } _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
