mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
dp83822phy: Add missing MII_PHY_END to avoid buffer overread on probe
Found by: CHERI
Fixes: 0c9156faec ("Introduce DP83822 PHY driver")
This commit is contained in:
parent
3f707064a5
commit
d930ec4ff9
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue