linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: <linux-wireless@vger.kernel.org>, <tiwai@suse.de>,
	<Larry.Finger@lwfinger.net>
Subject: Re: [PATCH v2 0/3] rtw89: fix crash when loading firmware file on certain platforms
Date: Fri, 12 Nov 2021 08:17:04 +0200	[thread overview]
Message-ID: <878rxtnbj3.fsf@codeaurora.org> (raw)
In-Reply-To: <20211112003453.5073-1-pkshih@realtek.com> (Ping-Ke Shih's message of "Fri, 12 Nov 2021 08:34:50 +0800")

Ping-Ke Shih <pkshih@realtek.com> writes:

> First patch is to avoid writing "partition size" on read-only firmware
> buffer, so it has to fix the crash.
> The later two patches are used to make the semantics clear, but they don't
> change the logic at all.
>
> I hope at least first patch can be taken into 5.16-rc, so people can avoid
> this crash.
>
> v2: Add Buglink and Tested-by tags.
>
> Ping-Ke Shih (3):
>   rtw89: update partition size of firmware header on skb->data
>   rtw89: add const in the cast of le32_get_bits()
>   rtw89: use inline function instead macro to set H2C and CAM
>
>  drivers/net/wireless/realtek/rtw89/cam.h  |  468 ++++--
>  drivers/net/wireless/realtek/rtw89/fw.c   |    2 +-
>  drivers/net/wireless/realtek/rtw89/fw.h   | 1768 ++++++++++++---------
>  drivers/net/wireless/realtek/rtw89/txrx.h |   46 +-
>  4 files changed, 1370 insertions(+), 914 deletions(-)

Patch 1 should definitely go to wireless-drivers to fix the crash. But
I'm not sure about patches 2-3, they are quite large, and more like
cleanup than fixes, so wireless-drivers-next sounds more approriate to
me. But I can't decide, any thoughts on this?

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

  parent reply	other threads:[~2021-11-12  6:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-12  0:34 [PATCH v2 0/3] rtw89: fix crash when loading firmware file on certain platforms Ping-Ke Shih
2021-11-12  0:34 ` [PATCH v2 1/3] rtw89: update partition size of firmware header on skb->data Ping-Ke Shih
2021-11-12  0:34 ` [PATCH v2 2/3] rtw89: add const in the cast of le32_get_bits() Ping-Ke Shih
2021-11-12  0:34 ` [PATCH v2 3/3] rtw89: use inline function instead macro to set H2C and CAM Ping-Ke Shih
2021-11-12  6:17 ` Kalle Valo [this message]
2021-11-12  6:44   ` [PATCH v2 0/3] rtw89: fix crash when loading firmware file on certain platforms Pkshih

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=878rxtnbj3.fsf@codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkshih@realtek.com \
    --cc=tiwai@suse.de \
    /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;
as well as URLs for NNTP newsgroup(s).