linux/drivers/net
Daniel Golle 57c28e9369 net: phy: aquantia: fix return value check in aqr107_config_mdi()
of_property_read_u32() returns -EINVAL in case the property cannot be
found rather than -ENOENT. Fix the check to not abort probing in case
of the property being missing, and also in case CONFIG_OF is not set
which will result in -ENOSYS.

Fixes: a2e1ba275e ("net: phy: aquantia: allow forcing order of MDI pairs")
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Closes: https://lore.kernel.org/all/114b4c03-5d16-42ed-945d-cf78eabea12b@nvidia.com/
Suggested-by: Hans-Frieder Vogt <hfdevel@gmx.net>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/f8282e2fc6a5ac91fe91491edc7f1ca8f4a65a0d.1728825323.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-10-15 09:53:53 -07:00
..
arcnet
bonding bonding: Fix unnecessary warnings and logs from bond_xdp_get_xmit_slave() 2024-09-24 15:19:50 +02:00
caif
can move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
dsa net: dsa: mv88e6xxx: Fix uninitialised err value 2024-10-11 15:43:24 -07:00
ethernet r8169: implement additional ethtool stats ops 2024-10-15 09:52:01 -07:00
fddi
fjes net: Switch back to struct platform_driver::remove() 2024-10-04 16:39:57 -07:00
hamradio TTY/Serial driver update for 6.12-rc1 2024-09-26 09:59:50 -07:00
hippi
hyperv hv_netvsc: Link queues to NAPIs 2024-10-06 16:24:06 +01:00
ieee802154 net: Switch back to struct platform_driver::remove() 2024-10-04 16:39:57 -07:00
ipa net: Switch back to struct platform_driver::remove() 2024-10-04 16:39:57 -07:00
ipvlan ipv4: Convert ip_route_input_noref() to dscp_t. 2024-10-03 16:21:21 -07:00
mctp move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mdio net: mdio: Switch back to struct platform_driver::remove() 2024-10-04 16:39:57 -07:00
netdevsim netdevsim: copy addresses for both in and out paths 2024-10-11 15:44:27 -07:00
pcs net: pcs: xpcs: move Wangxun VR_XS_PCS_DIG_CTRL1 configuration 2024-10-09 12:13:12 +01:00
phy net: phy: aquantia: fix return value check in aqr107_config_mdi() 2024-10-15 09:53:53 -07:00
plip
ppp ppp: fix ppp_async_encode() illegal access 2024-10-10 08:47:13 -07:00
pse-pd net: pse-pd: Fix enabled status mismatch 2024-10-04 13:14:18 -07:00
slip slip: make slhc_remember() more robust against malicious packets 2024-10-10 09:06:32 -07:00
team
thunderbolt
usb move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
vmxnet3 vmxnet3: support higher link speeds from vmxnet3 v9 2024-10-07 17:04:41 -07:00
vxlan net: vxlan: use kfree_skb_reason() in encap_bypass_if_local() 2024-10-13 11:33:10 +01:00
wan net: Switch back to struct platform_driver::remove() 2024-10-04 16:39:57 -07:00
wireguard
wireless move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
wwan net: Switch back to struct platform_driver::remove() 2024-10-04 16:39:57 -07:00
xen-netback
Kconfig testing: net-drv: add basic shaper test 2024-10-10 08:30:23 -07:00
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c net: tunnel: make skb_vlan_inet_prepare() return drop reasons 2024-10-13 11:33:08 +01:00
dummy.c
eql.c
geneve.c net: tunnel: make skb_vlan_inet_prepare() return drop reasons 2024-10-13 11:33:08 +01:00
gtp.c
ifb.c
loopback.c
macsec.c
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c net: netconsole: fix wrong warning 2024-10-09 19:42:43 -07:00
netkit.c netkit: Simplify netkit mode over to use NLA_POLICY_MAX 2024-10-07 17:12:37 -07:00
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
sb1000.c
sungem_phy.c
tap.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
tun.c appletalk: Remove deadcode 2024-10-04 12:42:32 +01:00
veth.c
virtio_net.c virtio_net: Fix mismatched buf address when unmapping for small packets 2024-09-26 10:35:27 +02:00
vrf.c vrf: revert "vrf: Remove unnecessary RCU-bh critical section" 2024-10-02 17:26:11 -07:00
vsockmon.c
xen-netfront.c