linux/drivers/net/ethernet/cavium/thunder
David Daney b7d3e3d3d2 net: thunderx: Don't leak phy device references on -EPROBE_DEFER condition.
It is possible, although unlikely, that probing will find the
phy_device for the first LMAC of a thunder BGX device, but then need
to fail with -EPROBE_DEFER on a subsequent LMAC.  In this case, we
need to call put_device() on each of the phy_devices that were
obtained, but will be unused due to returning -EPROBE_DEFER.

Also, since we can break out of the probing loop early, we need to
explicitly call of_node_put() outside of the loop.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-16 19:55:37 -04:00
..
Makefile
nic.h net: thunderx: Adjust nicvf structure to reduce cache misses 2016-03-14 12:33:36 -04:00
nic_main.c net: thunderx: Fix for Qset error due to CQ full 2016-02-25 16:25:34 -05:00
nic_reg.h net: thunderx: Fix for Qset error due to CQ full 2016-02-25 16:25:34 -05:00
nicvf_ethtool.c net, thunderx: Add TX timeout and RX buffer alloc failure stats. 2016-02-11 11:30:26 -05:00
nicvf_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-02-23 00:09:14 -05:00
nicvf_queues.c net: thunderx: Set recevie buffer page usage count in bulk 2016-03-14 12:33:36 -04:00
nicvf_queues.h net: thunderx: Fix receive packet stats 2016-02-17 22:24:57 -05:00
q_struct.h net: thunderx: HW TSO support for pass-2 hardware 2015-12-11 23:38:17 -05:00
thunder_bgx.c net: thunderx: Don't leak phy device references on -EPROBE_DEFER condition. 2016-03-16 19:55:37 -04:00
thunder_bgx.h net: thunderx: Enable BGX LMAC's RX/TX only after VF is up 2015-12-02 15:58:50 -05:00