[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <MN2PR11MB4333038C5259D3029CFC8477FA760@MN2PR11MB4333.namprd11.prod.outlook.com>
Date: Wed, 13 Nov 2019 15:58:42 +0000
From: <Bryan.Whitehead@...rochip.com>
To: <andrew@...n.ch>
CC: <davem@...emloft.net>, <netdev@...r.kernel.org>,
<UNGLinuxDriver@...rochip.com>
Subject: RE: [PATCH v1 net-next] mscc.c: Add support for additional VSC PHYs
> Hi Bryan
>
> You could add a WARN_ON(phydev->drv->phy_id_mask & 0xf); That should
> catch any new PHY breaking the assumption.
>
> Andrew
Good idea, Thanks Andrew
Powered by blists - more mailing lists