1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00
Files
u-boot-megous/drivers
Vignesh Raghavendra 64b69f8c89 phy: Fix possible NULL pointer deference
It is possible that users of generic_phy_*() APIs may pass a valid
struct phy pointer but phy->dev can be NULL, leading to NULL pointer
deference in phy_dev_ops().

So call generic_phy_valid() to verify that phy and phy->dev are both
valid.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2020-05-25 11:54:53 -04:00
..
2020-05-18 21:19:18 -04:00
2020-05-22 19:46:45 +02:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-22 15:22:37 +02:00