On 11/28/24 14:54, Bryan O'Donoghue wrote:
On 28/11/2024 09:02, Vladimir Zapolskiy wrote:+ np = of_changeset_create_node(ocs, dev->of_node, node_name); + if (!np) { + dev_err(dev, "Unable to create new node\n"); + return -ENODEV;Leaked reference to np.I don't believe that's a leak, because you only release np when it is non-NULL.
Clearly it's my fault here, I'm very sorry for it. -- Best wishes, Vladimir