dp83822phy: Add missing MII_PHY_END to avoid buffer overread on probe
Found by: CHERI Fixes: 0c9156faeccb ("Introduce DP83822 PHY driver")
This commit is contained in:
parent
3f707064a5
commit
d930ec4ff9
@ -86,7 +86,8 @@ struct dp83822_softc {
|
||||
};
|
||||
|
||||
static const struct mii_phydesc dpphys[] = {
|
||||
MII_PHY_DESC(xxTI, DP83822)
|
||||
MII_PHY_DESC(xxTI, DP83822),
|
||||
MII_PHY_END
|
||||
};
|
||||
|
||||
static const struct mii_phy_funcs dpphy_funcs = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user