Re: [PATCH next] media: xilinx-tpg: fix double put in xtpg_parse_of()
From: Dan Carpenter
Date: Tue Nov 05 2024 - 11:45:51 EST
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