Thread (5 messages) 5 messages, 3 authors, 2025-02-24

Re: [PATCH next] media: xilinx-tpg: fix double put in xtpg_parse_of()

From: Dan Carpenter <hidden>
Date: 2024-11-05 16:45:42
Also in: kernel-janitors, linux-media, lkml

On Mon, Nov 04, 2024 at 08:16:19PM +0300, Dan Carpenter wrote:
This loop was recently converted to use for_each_of_graph_port() which
automatically does __cleanup__ on the "port" iterator variable.  Delete
the calls to of_node_put(port) to avoid a double put bug.

Fixes: 393194cdf11e ("media: xilinx-tpg: use new of_graph functions")
I guess the CI system applies this to the wrong git tree so it says
the of_node_put() calls are necessary and it can't find the Fixes
commit.

regards,
dan carpenter

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help