diff options
| author | 2025-04-07 17:55:51 +0800 | |
|---|---|---|
| committer | 2025-05-21 14:49:38 +0200 | |
| commit | caf4b347c5dc40fdd125793b5e82ba9fc4de5275 (patch) | |
| tree | 740aa036c49d87bf8de9334ab7a47b8b6170f756 /scripts/Makefile.thinlto | |
| parent | wifi: mt76: mt7925: add EHT preamble puncturing (diff) | |
wifi: mt76: mt7996: Add NULL check in mt7996_thermal_init
devm_kasprintf() can return a NULL pointer on failure,but this
returned value in mt7996_thermal_init() is not checked.
Add NULL check in mt7996_thermal_init(), to handle kernel NULL
pointer dereference error.
Fixes: 69d54ce7491d ("wifi: mt76: mt7996: switch to single multi-radio wiphy")
Signed-off-by: Charles Han <hanchunchao@inspur.com>
Link: https://patch.msgid.link/20250407095551.32127-1-hanchunchao@inspur.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
