From 82df10a3563a51adbc420c4ea3ae601f854a2675 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Tue, 27 Jun 2023 00:04:09 -0700 Subject: [PATCH] modules/mqnic: Add missing priv reference Signed-off-by: Alex Forencich --- modules/mqnic/mqnic_ethtool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mqnic/mqnic_ethtool.c b/modules/mqnic/mqnic_ethtool.c index bf44dcefb..8bffb9347 100644 --- a/modules/mqnic/mqnic_ethtool.c +++ b/modules/mqnic/mqnic_ethtool.c @@ -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;