[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20211109222354.3688-1-olek2@wp.pl>
Date: Tue, 9 Nov 2021 23:23:54 +0100
From: Aleksander Jan Bajkowski <olek2@...pl>
To: davem@...emloft.net, kuba@...nel.org, olek2@...pl, arnd@...db.de,
jgg@...pe.ca, rdunlap@...radead.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: kernel test robot <lkp@...el.com>
Subject: [PATCH net] net: ethernet: lantiq_etop: Fix compilation error
This fixes the error detected when compiling the driver.
Fixes: 14d4e308e0aa ("net: lantiq: configure the burst length in ethernet drivers")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Aleksander Jan Bajkowski <olek2@...pl>
---
drivers/net/ethernet/lantiq_etop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
index 2258e3f19161..6433c909c6b2 100644
--- a/drivers/net/ethernet/lantiq_etop.c
+++ b/drivers/net/ethernet/lantiq_etop.c
@@ -262,7 +262,7 @@ ltq_etop_hw_init(struct net_device *dev)
/* enable crc generation */
ltq_etop_w32(PPE32_CGEN, LQ_PPE32_ENET_MAC_CFG);
- ltq_dma_init_port(DMA_PORT_ETOP, priv->tx_burst_len, rx_burst_len);
+ ltq_dma_init_port(DMA_PORT_ETOP, priv->tx_burst_len, priv->rx_burst_len);
for (i = 0; i < MAX_DMA_CHAN; i++) {
int irq = LTQ_DMA_CH0_INT + i;
--
2.30.2
Powered by blists - more mailing lists