summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-06-07 12:58:54 +0100
committerJakub Kicinski <kuba@kernel.org>2023-06-08 19:19:50 -0700
commitd143898c6d7b7f9b171ddc76cd9a3d8356bfddd5 (patch)
tree3e674397977497c5c65df1f61fb5afba8462efb7 /drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c
parent05b606b8845213092b50a855ecf7211caa7c82fa (diff)
net: pcs: lynx: check that the fwnode is available prior to use
Check that the fwnode is marked as available prior to trying to lookup the PCS device, and return -ENODEV if unavailable. Document the return codes from lynx_pcs_create_fwnode(). Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c')
0 files changed, 0 insertions, 0 deletions