From: Josef Schlehofer <pepe.schlehofer@gmail.com>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH rtw-next] wifi: rtw89: debug: fix diag_mac crash
Date: Mon, 23 Nov 2026 11:36:36 +0100 [thread overview]
Message-ID: <20261123103636.50732-1-pepe.schlehofer@gmail.com> (raw)
In-Reply-To: <1f89e4c0724449fcb77ab321c3115972@realtek.com>
Ping-Ke Shih <pkshih@realtek.com> wrote:
> > - char *p = buf, *end = buf + bufsz, *p_rewind;
> > + char *p = buf, *end = buf + bufsz, *p_rewind = NULL;
>
> With fixes of prev_{seq, sheet}, is it still needed to set p_rewind = NULL?
> (Though it is harmless).
No, it is not needed. prev_seq is still 0 when the first rule that is
not ignored comes, so that rule always takes the branch that sets
p_rewind. Either its seq is 0, or it differs from prev_seq.
I will send v2 without it. It ran on the RTL8922AU with three diag_mac
reads and traffic after them.
prev parent reply other threads:[~2026-11-23 10:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 0:12 [PATCH rtw-next] wifi: rtw89: debug: fix diag_mac crash Josef Schlehofer
2026-11-23 1:23 ` Ping-Ke Shih
2026-11-23 10:36 ` Josef Schlehofer [this message]
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=20261123103636.50732-1-pepe.schlehofer@gmail.com \
--to=pepe.schlehofer@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.com \
/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