summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2016-11-28 19:24:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 10:26:09 +0200
commit5733a9f4a3df384097c92c532aed34bc698a9acd (patch)
tree1d57c16bc9748d06c75eac0e974fbc2c4f45bf31 /include/linux/workqueue.h
parent12cf30cb9b6b7b806d9d857d16cdb4f9efc804ad (diff)
net: dsa: slave: fix of-node leak and phy priority
commit 0d8f3c67151faaa80e332c254372dca58fb2a9d4 upstream. Make sure to drop the reference taken by of_parse_phandle() before returning from dsa_slave_phy_setup(). Note that this also modifies the PHY priority so that any fixed-link node is only parsed when no phy-handle is given, which is in accordance with the common scheme for this. Fixes: 0d8bcdd383b8 ("net: dsa: allow for more complex PHY setups") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions