Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Luka Gejak" <luka.gejak@linux.dev>
To: "Bitterblue Smith" <rtl8821cerfe2@gmail.com>,
	linux-wireless@vger.kernel.org
Cc: "Ping-Ke Shih" <pkshih@realtek.com>
Subject: Re: [PATCH rtw-next] wifi: rtw88: usb: Avoid crash with dynamically added device ID
Date: Sat, 05 Dec 2026 15:36:01 +0000	[thread overview]
Message-ID: <d0ee3f6a497972905012a2deae76a129e109777c@linux.dev> (raw)
In-Reply-To: <a68a9a20-6d9b-4f0a-affe-f00cb04de00f@gmail.com>

December 4, 2026 at 10:56 PM, "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.
> 
> Pass the appropriate rtw_chip_info pointer to rtw_usb_probe() using
> a wrapper in each driver instead of storing it in driver_info.
> 
> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
> ---

Looks good to me,

Reviewed-by: Luka Gejak <luka.gejak@linux.dev>

Best regards,
Luka Gejak

      reply	other threads:[~2026-12-05 15:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 21:56 [PATCH rtw-next] wifi: rtw88: usb: Avoid crash with dynamically added device ID Bitterblue Smith
2026-12-05 15:36 ` Luka Gejak [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=d0ee3f6a497972905012a2deae76a129e109777c@linux.dev \
    --to=luka.gejak@linux.dev \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkshih@realtek.com \
    --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