diff --git a/drivers/net/ethernet/qlogic/qede/qede_ethtool.c b/drivers/net/ethernet/qlogic/qede/qede_ethtool.c index 4d45945bc34c06eb7fe313513453310e304f9587..14d5328e6ac9196486739bbf4554c3dd7b191b7b 100644 --- a/drivers/net/ethernet/qlogic/qede/qede_ethtool.c +++ b/drivers/net/ethernet/qlogic/qede/qede_ethtool.c @@ -60,7 +60,7 @@ static const struct { }; #define QEDE_TQSTATS_DATA(dev, sindex, tssid, tcid) \ - (*((u64 *)(((u64)(&dev->fp_array[tssid].txqs[tcid])) +\ + (*((u64 *)(((void *)(&dev->fp_array[tssid].txqs[tcid])) +\ qede_tqstats_arr[(sindex)].offset))) static const struct {