Re: [PATCH v5 05/28] media: iris: implement video firmware load/unload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13/11/2024 05:20, Dikshita Agarwal wrote:
+err_put_node:
+    of_node_put(node);
remove
Sure, Will make the change.
but are we just trying to avoid using "goto" here?

Thanks,
Dikshita

Currently you'd be leaking because you only do the put on the error path.

> +    rmem = of_reserved_mem_lookup(node);

of_node_put(node);

---
bod




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux