CC: [email protected] BCC: [email protected] CC: Linux Memory Management List <[email protected]> TO: Paul Kocialkowski <[email protected]> CC: Maxime Ripard <[email protected]> CC: Maarten Lankhorst <[email protected]> CC: Thomas Zimmermann <[email protected]> CC: David Airlie <[email protected]> CC: Daniel Vetter <[email protected]> CC: [email protected] CC: [email protected]
From: kernel test robot <[email protected]> drivers/gpu/drm/drm_of.c:297:2-13: ERROR: probable double put. Device node iterators put the previous value of the index variable, so an explicit put causes a double put. Generated by: scripts/coccinelle/iterators/device_node_continue.cocci Fixes: 67bae5f28c89 ("drm: of: Properly try all possible cases for bridge/panel detection") CC: Paul Kocialkowski <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: kernel test robot <[email protected]> --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e5071887cd2296a7704dbcd10c1cedf0f11cdbd5 commit: 67bae5f28c895f8737a1974c3f31cf12b9170b14 [14515/15002] drm: of: Properly try all possible cases for bridge/panel detection :::::: branch date: 2 days ago :::::: commit date: 3 days ago Please take the patch only if it's a positive warning. Thanks! drivers/gpu/drm/drm_of.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/gpu/drm/drm_of.c +++ b/drivers/gpu/drm/drm_of.c @@ -294,7 +294,6 @@ int drm_of_find_panel_or_bridge(const st continue; ret = find_panel_or_bridge(node, panel, bridge); - of_node_put(node); /* Stop at the first found occurrence. */ if (!ret) _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
