1
linux/drivers/net/wireless/mediatek/mt76/mt7921
Ma Ke 1ccc9e476c wifi: mt76: mt7921: Check devm_kasprintf() returned value
devm_kasprintf() can return a NULL pointer on failure but this returned
value is not checked. Fix this lack and check the returned value.

Found by code review.

Cc: stable@vger.kernel.org
Fixes: 6ae39b7c7e ("wifi: mt76: mt7921: Support temp sensor")
Signed-off-by: Ma Ke <make24@iscas.ac.cn>
Reviwed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://patch.msgid.link/20240903014455.4144536-1-make24@iscas.ac.cn
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-09-06 14:23:07 +02:00
..
debugfs.c
init.c wifi: mt76: mt7921: Check devm_kasprintf() returned value 2024-09-06 14:23:07 +02:00
Kconfig
mac.c wifi: mt76: mt792x: extend mt76_connac_mcu_uni_add_dev for per-link BSS 2024-07-09 23:01:48 +02:00
main.c wifi: mt76: change .sta_assoc callback to .sta_event 2024-09-06 14:23:06 +02:00
Makefile
mcu.c wifi: mt76: partially move channel change code to core 2024-09-06 11:14:37 +02:00
mcu.h wifi: mt76: mt7921: get regulatory information from the clc event 2023-09-30 20:17:18 +02:00
mt7921.h wifi: mt76: change .sta_assoc callback to .sta_event 2024-09-06 14:23:06 +02:00
pci_mac.c wifi: mt76: mt792x: add struct mt792x_link_sta 2024-07-09 23:01:47 +02:00
pci_mcu.c
pci.c wifi: mt76: change .sta_assoc callback to .sta_event 2024-09-06 14:23:06 +02:00
regs.h
sdio_mac.c wifi: mt76: mt7921s: fix potential hung tasks during chip recovery 2024-05-02 12:44:51 +02:00
sdio_mcu.c wifi: mt76: mt792x: move mt7921_skb_add_usb_sdio_hdr in mt792x module 2023-09-30 20:17:18 +02:00
sdio.c wifi: mt76: change .sta_assoc callback to .sta_event 2024-09-06 14:23:06 +02:00
testmode.c
usb.c wifi: mt76: change .sta_assoc callback to .sta_event 2024-09-06 14:23:06 +02:00