diff options
| author | Ruan Jinjie <[email protected]> | 2023-08-18 15:07:05 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-08-20 15:13:27 +0100 |
| commit | d6499f0b7c7ce3d69f658331e78e520c7ebcb238 (patch) | |
| tree | 82620d4b686b5781c7f897381c9fd1930534469d /net/lapb/lapb_in.c | |
| parent | b22eef6864caadd2199e3db0be7235c176a04f89 (diff) | |
net: bgmac: Return PTR_ERR() for fixed_phy_register()
fixed_phy_register() returns -EPROBE_DEFER, -EINVAL and -EBUSY,
etc, in addition to -ENODEV. The best practice is to return
these error codes with PTR_ERR().
Signed-off-by: Ruan Jinjie <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions