aboutsummaryrefslogtreecommitdiff
path: root/net/iucv
diff options
context:
space:
mode:
authorRuan Jinjie2023-08-18 13:12:21 +0800
committerGreg Kroah-Hartman2023-08-30 16:11:02 +0200
commitafc9d3d217939842ba4e2795356b8dd53f7a2ed6 (patch)
tree01462478edaae7fa2035629d434821cb29e6bbe9 /net/iucv
parent029e491b8c11859525a1d6a307622bbc3a4ae559 (diff)
net: bcmgenet: Fix return value check for fixed_phy_register()
[ Upstream commit 32bbe64a1386065ab2aef8ce8cae7c689d0add6e ] The fixed_phy_register() function returns error pointers and never returns NULL. Update the checks accordingly. Fixes: b0ba512e25d7 ("net: bcmgenet: enable driver to work without a device tree") Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Acked-by: Doug Berger <opendmb@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions