aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2024-10-08 21:47:16 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-10-10 13:55:15 +0200
commit16aef66643a2f92275351caaaa4640bbaf84040c (patch)
tree635fdb9083d5d1ed1ea59ed0c1b9e65b7c9f2e85 /net/ipv4/tcp_output.c
parent88dc9aebd04cbc319e96a3a416109faf7e45b61c (diff)
downloadlinux-16aef66643a2f92275351caaaa4640bbaf84040c.tar.gz
linux-16aef66643a2f92275351caaaa4640bbaf84040c.tar.bz2
linux-16aef66643a2f92275351caaaa4640bbaf84040c.zip
net: phy: Validate PHY LED OPs presence before registering
Validate PHY LED OPs presence before registering and parsing them. Defining LED nodes for a PHY driver that actually doesn't supports them is redundant and useless. It's also the case with Generic PHY driver used and a DT having LEDs node for the specific PHY. Skip it and report the error with debug print enabled. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20241008194718.9682-1-ansuelsmth@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions