Re: [PATCH] riscv: cacheinfo: Fix node reference leak in populate_cache_leaves
Markus Elfring <[email protected]>
| Newsgroups | org.kernel.vger.kernel-janitors,org.infradead.lists.linux-riscv,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
… > Fix this by changing the final `of_node_put(np)` to `of_node_put(prev)`. How do you think about to use a wording approach like “Thus replace the passed variable np by prev in an of_node_put() call at the end of this function implementation”? … > Signed-off-by: Zishun Yi <[email protected]> Can further clarifications become helpful also for the safe usage of the Developer's Certificate of Origin? Regards, Markus