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

Dan Carpenter dan.carpenter at linaro.org
Tue Nov 5 08:45:39 PST 2024


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




More information about the linux-arm-kernel mailing list