diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-01-03 15:13:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-03 12:37:55 -0800 |
commit | eed70fd9452fe0fcd1a221731a4333b51a8081f2 (patch) | |
tree | 3a575aaaef80981a86ca7f9b6b609bda1a791e26 /block/blk-mq-sched.h | |
parent | doc/net: Update git https URLs in netdev-FAQ documentation (diff) | |
download | linux-dev-eed70fd9452fe0fcd1a221731a4333b51a8081f2.tar.xz linux-dev-eed70fd9452fe0fcd1a221731a4333b51a8081f2.zip |
net: phylink: fix failure to register on x86 systems
The kernel test robot reports a boot failure with qemu in 5.5-rc,
referencing commit 2203cbf2c8b5 ("net: sfp: move fwnode parsing into
sfp-bus layer"). This is caused by phylink_create() being passed a
NULL fwnode, causing fwnode_property_get_reference_args() to return
-EINVAL.
Don't attempt to attach to a SFP bus if we have no fwnode, which
avoids this issue.
Reported-by: kernel test robot <rong.a.chen@intel.com>
Fixes: 2203cbf2c8b5 ("net: sfp: move fwnode parsing into sfp-bus layer")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-mq-sched.h')
0 files changed, 0 insertions, 0 deletions