linux/drivers/net/wireless
Ma Ke 267efeda8c wifi: mt76: mt7915: 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>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://patch.msgid.link/20240903014955.4145423-1-make24@iscas.ac.cn
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-09-06 14:23:07 +02:00
..
admtek wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
ath wireless-next patches for v6.12 2024-09-04 17:20:14 -07:00
atmel wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
broadcom wireless-next patches for v6.12 2024-09-04 17:20:14 -07:00
intel wireless-next patches for v6.12 2024-09-04 17:20:14 -07:00
intersil wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
marvell wireless-next patches for v6.12 2024-09-04 17:20:14 -07:00
mediatek wifi: mt76: mt7915: check devm_kasprintf() returned value 2024-09-06 14:23:07 +02:00
microchip wifi: wilc1000: Re-enable RTC clock on resume 2024-09-03 21:31:01 +03:00
purelifi wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
quantenna wifi: qtnfmac: Remove generic .ndo_get_stats64 2024-05-02 10:20:04 +03:00
ralink wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
realtek wireless-next patches for v6.12 2024-09-04 17:20:14 -07:00
rsi wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
silabs wifi: wfx: repair open network AP mode 2024-08-27 10:49:26 +03:00
st wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
ti - In the series "treewide: Refactor heap related implementation", 2024-07-21 17:56:22 -07:00
virtual wifi: mac80211_hwsim: correct MODULE_PARM_DESC of multi_radio 2024-08-27 10:06:59 +02:00
zydas wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
Kconfig wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00
Makefile wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00