[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191001.100233.2002881947003652758.davem@davemloft.net>
Date: Tue, 01 Oct 2019 10:02:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wenyang@...ux.alibaba.com
Cc: alexandre.belloni@...tlin.com, UNGLinuxDriver@...rochip.com,
xlpang@...ux.alibaba.com, zhiche.yy@...baba-inc.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: mscc: ocelot: add missing of_node_put after
calling of_get_child_by_name
From: Wen Yang <wenyang@...ux.alibaba.com>
Date: Sun, 29 Sep 2019 14:54:24 +0800
> of_node_put needs to be called when the device node which is got
> from of_get_child_by_name finished using.
> In both cases of success and failure, we need to release 'ports',
> so clean up the code using goto.
>
> fixes: a556c76adc05 ("net: mscc: Add initial Ocelot switch support")
> Signed-off-by: Wen Yang <wenyang@...ux.alibaba.com>
Applied.
Powered by blists - more mailing lists