aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/sched
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-01-16 11:27:08 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-17 14:04:49 -0800
commit3f1bb6abdf19cfa89860b3bc9e7f31b44b6a0ba1 (patch)
treefa4d42436531cf090b578ecd758f776adbc63f5d /net/sched
parentatm: he: fix sign-extension overflow on large shift (diff)
downloadwireguard-linux-3f1bb6abdf19cfa89860b3bc9e7f31b44b6a0ba1.tar.xz
wireguard-linux-3f1bb6abdf19cfa89860b3bc9e7f31b44b6a0ba1.zip
net: dsa: realtek-smi: fix OF child-node lookup
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@vger.kernel.org> # 4.19: 36156f9241cb0 Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions