[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0hWSCDbDUV1_iQBf-4Y=QgnBTrAqQqcCyOpv9r7yCjGiQ@mail.gmail.com>
Date: Tue, 20 Nov 2018 17:06:12 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: tiny.windzz@...il.com
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Linux PM <linux-pm@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] cpuidle: big.LITTLE: add of_node_put()
On Tue, Nov 20, 2018 at 4:46 PM Yangtao Li <tiny.windzz@...il.com> wrote:
>
> The of_node_put() is missing.So we call the of_node_put() to release
> the refcount.
I would say "of_find_node_by_path() acquires a reference to the node
returned by it and that reference needs to be dropped by its caller.
bl_idle_init() doesn't do that, so fix it."
Thanks,
Rafael
Powered by blists - more mailing lists