From: Ping-Ke Shih <pkshih@realtek.com>
To: Bitterblue Smith <rtl8821cerfe2@gmail.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: [PATCH rtw-next v2] wifi: rtw89: usb: Avoid crash with dynamically added device ID
Date: Fri, 21 Aug 2026 00:30:22 +0000 [thread overview]
Message-ID: <6230956f25584d59a97442ed12d280fd@realtek.com> (raw)
In-Reply-To: <7a537b2e-67d2-40fb-8ef2-fcbc7bbc93af@gmail.com>
Bitterblue Smith <rtl8821cerfe2@gmail.com> wrote:
> Adding a device ID via sysfs causes a crash when the device is plugged
> in, because the driver_info pointer is null.
>
> Check for null driver_info in rtw89_usb_probe() and add a wrapper in
> each driver to pass it a reasonable default value.
>
> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
prev parent reply other threads:[~2026-08-21 0:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-19 20:06 [PATCH rtw-next v2] wifi: rtw89: usb: Avoid crash with dynamically added device ID Bitterblue Smith
2026-08-21 0:30 ` Ping-Ke Shih [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=6230956f25584d59a97442ed12d280fd@realtek.com \
--to=pkshih@realtek.com \
--cc=linux-wireless@vger.kernel.org \
--cc=rtl8821cerfe2@gmail.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