linux/drivers/net
Russell King (Oracle) 50acea3662 net: stmmac: simplify stmmac_init_phy()
If we fail to attach a PHY, there is no point trying to configure WoL
settings. Exit the function after printing the "cannot attach to PHY"
error, and remove the now unnecessary code indentation for configuring
the LPI timer in phylink. Since we know that "ret" must be zero at this
point, change the final return to use a constant rather than "ret".

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/E1v11A8-0000000774M-3pmH@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-09-24 17:40:23 -07:00
..
arcnet
bonding Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-18 11:26:06 -07:00
caif
can net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
dsa net: dsa: microchip: Set SPI as bus interface during reset for KSZ8463 2025-09-22 16:31:18 -07:00
ethernet net: stmmac: simplify stmmac_init_phy() 2025-09-24 17:40:23 -07:00
fddi
fjes net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
hamradio
hippi
hyperv net: hv_netvsc: fix loss of early receive events from host during channel open. 2025-08-26 18:15:19 -07:00
ieee802154
ipa
ipvlan ipv4: Convert ->flowi4_tos to dscp_t. 2025-08-26 17:34:31 -07:00
mctp net: mctp: usb: initialise mac header in RX path 2025-09-02 14:48:19 +02:00
mdio net: phy: move config symbol MDIO_BUS to drivers/net/phy/Kconfig 2025-09-23 16:56:27 -07:00
netdevsim net: replace use of system_unbound_wq with system_dfl_wq 2025-09-22 17:40:30 -07:00
ovpn
pcs net: pcs: Kconfig: Fix unmet dependency warning 2025-09-17 14:57:52 -07:00
phy net: phy: stop exporting phy_driver_register 2025-09-23 16:58:42 -07:00
plip
ppp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-04 13:33:00 -07:00
pse-pd net: pse-pd: Add Si3474 PSE controller driver 2025-08-28 14:41:59 +02:00
slip
team
thunderbolt
usb Revert "net: usb: asix: ax88772: drop phylink use in PM to avoid MDIO runtime PM wakeups" 2025-09-11 16:46:04 +02:00
vmxnet3
vxlan vxlan: Make vxlan_fdb_find_uc() more robust against NPDs 2025-09-09 18:27:33 -07:00
wan wan: framer: pef2256: use %pe in print format 2025-09-19 07:27:24 -07:00
wireguard net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-18 11:26:06 -07:00
wwan net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
xen-netback
amt.c ipv4: Convert ->flowi4_tos to dscp_t. 2025-08-26 17:34:31 -07:00
bareudp.c
dummy.c
eql.c
geneve.c geneve: Avoid -Wflex-array-member-not-at-end warning 2025-09-11 18:49:16 -07:00
gtp.c ipv4: Convert ->flowi4_tos to dscp_t. 2025-08-26 17:34:31 -07:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-11 17:40:13 -07:00
macvlan.c net: replace use of system_unbound_wq with system_dfl_wq 2025-09-22 17:40:30 -07:00
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
netkit.c
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
Space.c
sungem_phy.c
tap.c
tun_vnet.h
tun.c
veth.c
virtio_net.c net: virtio_net: add get_rxrings ethtool callback for RX ring queries 2025-09-18 07:07:39 -07:00
vrf.c ipv4: Convert ->flowi4_tos to dscp_t. 2025-08-26 17:34:31 -07:00
vsockmon.c
xen-netfront.c