[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190117.140535.53390428469930875.davem@davemloft.net>
Date: Thu, 17 Jan 2019 14:05:35 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: johan@...nel.org
Cc: linus.walleij@...aro.org, andrew@...n.ch, vivien.didelot@...il.com,
f.fainelli@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] net: dsa: realtek-smi: fix OF child-node lookup
From: Johan Hovold <johan@...nel.org>
Date: Wed, 16 Jan 2019 11:27:08 +0100
> Use the new of_get_compatible_child() helper to look up child nodes to
> avoid ever matching non-child nodes elsewhere in the tree.
>
> Also fix up the related struct device_node leaks.
>
> Fixes: d8652956cf37 ("net: dsa: realtek-smi: Add Realtek SMI driver")
> Cc: stable <stable@...r.kernel.org> # 4.19: 36156f9241cb0
> Cc: Linus Walleij <linus.walleij@...aro.org>
> Signed-off-by: Johan Hovold <johan@...nel.org>
Applied and queued up for -stable.
Powered by blists - more mailing lists