mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 21:34:10 +00:00
dp83867phy: Add missing MII_PHY_END to avoid buffer overread on attach
Found by: CHERI
Fixes: e85c94b8d6
("Introduce DP83867 PHY driver")
This commit is contained in:
parent
8de1a8131e
commit
3f707064a5
|
@ -101,7 +101,8 @@ struct dp83867_softc {
|
|||
};
|
||||
|
||||
static const struct mii_phydesc dpphys[] = {
|
||||
MII_PHY_DESC(xxTI, DP83867)
|
||||
MII_PHY_DESC(xxTI, DP83867),
|
||||
MII_PHY_END
|
||||
};
|
||||
|
||||
static const struct mii_phy_funcs dpphy_funcs = {
|
||||
|
|
Loading…
Reference in a new issue