diff options
| author | 2021-12-24 02:14:59 +0000 | |
|---|---|---|
| committer | 2021-12-24 14:52:10 -0800 | |
| commit | b45396afa4177f2b1ddfeff7185da733fade1dc3 (patch) | |
| tree | 846d86c6730cf938e1dc5aaaed8d6a4756d61f9a /samples/git: | |
| parent | selftests: Calculate udpgso segment count without header adjustment (diff) | |
| download | linux-dev-b45396afa4177f2b1ddfeff7185da733fade1dc3.tar.xz linux-dev-b45396afa4177f2b1ddfeff7185da733fade1dc3.zip | |
net: phy: fixed_phy: Fix NULL vs IS_ERR() checking in __fixed_phy_register
The fixed_phy_get_gpiod function() returns NULL, it doesn't return error
pointers, using NULL checking to fix this.i
Fixes: 5468e82f7034 ("net: phy: fixed-phy: Drop GPIO from fixed_phy_add()")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20211224021500.10362-1-linmq006@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples/git:')
0 files changed, 0 insertions, 0 deletions
