CC: kbuild-...@lists.01.org BCC: l...@intel.com CC: Linux Memory Management List <linux...@kvack.org> TO: Paul Kocialkowski <paul.kocialkow...@bootlin.com> CC: Maxime Ripard <max...@cerno.tech> CC: Maarten Lankhorst <maarten.lankho...@linux.intel.com> CC: Thomas Zimmermann <tzimmerm...@suse.de> CC: David Airlie <airl...@linux.ie> CC: Daniel Vetter <dan...@ffwll.ch> CC: dri-de...@lists.freedesktop.org CC: linux-ker...@vger.kernel.org
From: kernel test robot <l...@intel.com> 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 <paul.kocialkow...@bootlin.com> Reported-by: kernel test robot <l...@intel.com> Signed-off-by: kernel test robot <l...@intel.com> --- 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 -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org