diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-06-07 14:58:54 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-09 05:19:50 +0300 |
| commit | d143898c6d7b7f9b171ddc76cd9a3d8356bfddd5 (patch) | |
| tree | 3e674397977497c5c65df1f61fb5afba8462efb7 /include/linux | |
| parent | 05b606b8845213092b50a855ecf7211caa7c82fa (diff) | |
| download | linux-d143898c6d7b7f9b171ddc76cd9a3d8356bfddd5.tar.xz | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
