linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] rtw89: fix crash when loading firmware file on certain platforms
@ 2021-11-19  5:45 Ping-Ke Shih
  2021-11-19  5:45 ` [PATCH v3 1/3] rtw89: update partition size of firmware header on skb->data Ping-Ke Shih
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Ping-Ke Shih @ 2021-11-19  5:45 UTC (permalink / raw)
  To: kvalo; +Cc: linux-wireless, tiwai, Larry.Finger

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.

v3: Modify patch 3/3 to convert more inline functions I missed.
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   | 2175 ++++++++++++---------
 drivers/net/wireless/realtek/rtw89/txrx.h |   46 +-
 4 files changed, 1656 insertions(+), 1035 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-12-08 18:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19  5:45 [PATCH v3 0/3] rtw89: fix crash when loading firmware file on certain platforms Ping-Ke Shih
2021-11-19  5:45 ` [PATCH v3 1/3] rtw89: update partition size of firmware header on skb->data Ping-Ke Shih
2021-11-22 18:42   ` Kalle Valo
2021-11-19  5:45 ` [PATCH v3 2/3] rtw89: add const in the cast of le32_get_bits() Ping-Ke Shih
2021-11-26 16:04   ` Kalle Valo
2021-12-08 18:26   ` Kalle Valo
2021-11-19  5:45 ` [PATCH v3 3/3] rtw89: use inline function instead macro to set H2C and CAM Ping-Ke Shih
2021-11-19 12:05 ` [PATCH v3 0/3] rtw89: fix crash when loading firmware file on certain platforms Kalle Valo
2021-11-19 13:56   ` Takashi Iwai
2021-11-22  0:22     ` Pkshih

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).