aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/socfpga.c
diff options
context:
space:
mode:
authorDivya Koppera <[email protected]>2023-01-06 08:29:05 +0000
committerDavid S. Miller <[email protected]>2023-01-09 07:21:42 +0000
commit3f88d7d1be42a84a4ae292f085c3886597a04137 (patch)
treede8bd811cb6b761fdd9d9164ec503de6b2b9d470 /drivers/fpga/socfpga.c
parentnet: phy: micrel: Fixed error related to uninitialized symbol ret (diff)
downloadkernel-3f88d7d1be42a84a4ae292f085c3886597a04137.tar.gz
kernel-3f88d7d1be42a84a4ae292f085c3886597a04137.zip
net: phy: micrel: Fix warn: passing zero to PTR_ERR
Handle the NULL pointer case Fixes New smatch warnings: drivers/net/phy/micrel.c:2613 lan8814_ptp_probe_once() warn: passing zero to 'PTR_ERR' vim +/PTR_ERR +2613 drivers/net/phy/micrel.c Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Alexander Duyck <[email protected]> Signed-off-by: Divya Koppera <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/socfpga.c')
0 files changed, 0 insertions, 0 deletions