From: Denis Orlov <denorl2009@gmail.com>
To: barebox@lists.infradead.org
Cc: Denis Orlov <denorl2009@gmail.com>
Subject: [PATCH] fixup! net: rtl8139: fix ifdown/ifup issues
Date: Wed, 8 Feb 2023 11:29:40 +0300 [thread overview]
Message-ID: <20230208082940.3190986-1-denorl2009@gmail.com> (raw)
Fixes a typo.
Signed-off-by: Denis Orlov <denorl2009@gmail.com>
---
drivers/net/rtl8139.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c
index 1cd2ae14de..5c91c10fea 100644
--- a/drivers/net/rtl8139.c
+++ b/drivers/net/rtl8139.c
@@ -412,7 +412,7 @@ static void rtl8139_eth_halt(struct eth_device *edev)
dma_free_coherent((void *)priv->tx_bufs, priv->tx_bufs_dma,
TX_BUF_TOT_LEN);
dma_free_coherent((void *)priv->rx_ring, priv->rx_ring_dma,
- TX_BUF_TOT_LEN);
+ RX_BUF_TOT_LEN);
/* Green! Put the chip in low-power mode. */
RTL_W8(priv, Cfg9346, Cfg9346_Unlock);
--
2.30.2
reply other threads:[~2023-02-08 8:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230208082940.3190986-1-denorl2009@gmail.com \
--to=denorl2009@gmail.com \
--cc=20230208081307.3190117-2-denorl2009@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox