Files
u-boot/drivers
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-04-25 09:25:00 +02:00
2022-09-25 08:30:05 -06:00
2022-09-25 08:30:05 -06:00
2022-09-29 16:11:31 -04:00
2022-09-16 11:05:16 -04:00
2022-08-04 16:18:47 -04:00
2022-10-05 08:43:53 +02:00
2022-10-03 15:39:46 -04:00
2022-01-13 07:57:49 -05:00
2022-09-25 08:30:05 -06:00
2022-09-29 16:11:31 -04:00
2022-01-13 07:57:49 -05:00
2022-10-05 11:36:54 +02:00
2022-09-19 16:07:12 -04:00
2022-09-29 16:11:31 -04:00
2022-09-19 16:07:12 -04:00
2022-09-19 16:07:12 -04:00
2022-09-16 11:05:16 -04:00
2022-09-03 16:59:05 +03:00
2022-05-03 21:39:22 +02:00
2022-10-03 15:39:46 -04:00
2022-09-25 08:30:05 -06:00
2022-10-03 15:39:46 -04:00
2022-09-25 08:30:05 -06:00
2022-09-16 11:05:16 -04:00