From: Weixie Cui <cuiweixie@gmail.com>
To: qemu-devel@nongnu.org
Cc: Weixie Cui <cuiweixie@gmail.com>
Subject: [PATCH] hw: copy paste bug
Date: Mon, 23 Feb 2026 17:59:05 +0800 [thread overview]
Message-ID: <20260223095905.67709-1-cuiweixie@gmail.com> (raw)
Signed-off-by: Weixie Cui <cuiweixie@gmail.com>
---
hw/ssi/xilinx_spips.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ssi/xilinx_spips.c b/hw/ssi/xilinx_spips.c
index a4718fb72d..f6e717bc01 100644
--- a/hw/ssi/xilinx_spips.c
+++ b/hw/ssi/xilinx_spips.c
@@ -369,7 +369,7 @@ static void xilinx_spips_reset(DeviceState *d)
memset(s->regs, 0, sizeof(s->regs));
fifo8_reset(&s->rx_fifo);
- fifo8_reset(&s->rx_fifo);
+ fifo8_reset(&s->tx_fifo);
/* non zero resets */
s->regs[R_CONFIG] |= MODEFAIL_GEN_EN;
s->regs[R_SLAVE_IDLE_COUNT] = 0xFF;
@@ -397,7 +397,7 @@ static void xlnx_zynqmp_qspips_reset(DeviceState *d)
memset(s->regs, 0, sizeof(s->regs));
fifo8_reset(&s->rx_fifo_g);
- fifo8_reset(&s->rx_fifo_g);
+ fifo8_reset(&s->tx_fifo_g);
fifo32_reset(&s->fifo_g);
s->regs[R_INTR_STATUS] = R_INTR_STATUS_RESET;
s->regs[R_GPIO] = 1;
--
2.39.5 (Apple Git-154)
next reply other threads:[~2026-02-23 13:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-23 9:59 Weixie Cui [this message]
2026-02-23 13:47 ` [PATCH] hw: copy paste bug Thomas Huth
2026-02-24 2:48 ` Alistair Francis
2026-02-24 6:57 ` Markus Armbruster
2026-02-24 11:18 ` Peter Maydell
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=20260223095905.67709-1-cuiweixie@gmail.com \
--to=cuiweixie@gmail.com \
--cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.