Files
u-boot/drivers/net
Venkatesh Yadav Abbarapu 9a082d2548 net: Fix static checker warnings
Here are the smatch warning messages:

drivers/net/xilinx_axi_emac.c:324 axiemac_phy_init()
error: 'phydev' dereferencing possible ERR_PTR()

drivers/net/zynq_gem.c:340 zynq_phy_init()
error: 'priv->phydev' dereferencing possible ERR_PTR()

Fix by adding error checking before dereferencing the pointer.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20220929045605.23964-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2022-10-05 11:36:54 +02:00
..
2022-09-07 13:44:55 +08:00
2022-09-29 16:11:31 -04:00
2022-09-29 16:11:31 -04:00
2022-09-25 08:30:05 -06:00
2022-08-20 21:18:15 -04:00
2022-03-25 12:01:15 +00:00
2022-05-04 07:05:51 +02:00
2022-09-29 16:11:31 -04:00
2022-10-05 11:36:54 +02:00