On Wed, 24 Sep 2014 22:51:00 +0300 Vladimir Zapolskiy <vladimir_zapolskiy@xxxxxxxxxx> wrote:
The change balances a usage counter of np_pool device_node, which is
incremented on preceding of_parse_phandle() call.
@@ -637,6 +637,7 @@ struct gen_pool *of_get_named_gen_pool(struct device_node *np,
pdev = of_find_device_by_node(np_pool);
Looks good, thanks.
However... when fixing a bug, please always describe the end-user
visible effects of that bug. Amongst other things this is to help me
and others decide which kernel version(s) need the patch.
I'm assuming that the effect will be, at worst, a memory leak at the
rate of one device_node per hot-unplug event and is hence a very minor