Messages in this thread | | | From | Linus Walleij <> | Date | Tue, 26 Jun 2018 09:21:46 +0200 | Subject | Re: [PATCH] PCI: faraday: add missing of_node_put() |
| |
On Sat, Jun 23, 2018 at 5:16 PM Nicholas Mc Guire <hofrat@osadl.org> wrote:
> The call to of_get_next_child() returns a node pointer with refcount > incremented thus it must be explicitly decremented here in the error > path and after the last usage. > > Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> > Fixes: commit d3c68e0a7e34 ("PCI: faraday: Add Faraday Technology FTPCI100 PCI Host Bridge driver")
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
| |