1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

modules/mqnic: Add missing priv reference

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich 2023-06-27 00:04:09 -07:00
parent 6887a4a004
commit 82df10a356

View File

@ -325,6 +325,7 @@ static int mqnic_query_module_id(struct net_device *ndev)
static int mqnic_query_module_eeprom_by_page(struct net_device *ndev,
unsigned short i2c_addr, u16 page, u16 bank, u16 offset, u16 len, u8 *data)
{
struct mqnic_priv *priv = netdev_priv(ndev);
int module_id;
u8 d;
int ret;