aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/ef10.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-01-16 08:07:38 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-17 11:56:46 -0800
commit13d0ab6750b20957ac1466da4e44dc0af746ff28 (patch)
tree5cb5d00d94ecd897684d817d9ad6a83411201807 /drivers/net/ethernet/sfc/ef10.c
parentnet/tls: Make function tls_sw_do_sendpage static (diff)
downloadlinux-dev-13d0ab6750b20957ac1466da4e44dc0af746ff28.tar.xz
linux-dev-13d0ab6750b20957ac1466da4e44dc0af746ff28.zip
net: phy: check return code when requesting PHY driver module
When requesting the PHY driver module fails we'll bind the genphy driver later. This isn't obvious to the user and may cause, depending on the PHY, different types of issues. Therefore check the return code of request_module(). Note that we only check for failures in loading the module, not whether a module exists for the respective PHY ID. v2: - add comment explaining what is checked and what is not - return error from phy_device_create() if loading module fails Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef10.c')
0 files changed, 0 insertions, 0 deletions