diff options
author | 2025-04-07 11:23:49 +0800 | |
---|---|---|
committer | 2025-05-22 12:57:36 +0200 | |
commit | 8f30e2b059757d8711a823e4c9c023db62a1d171 (patch) | |
tree | 5e9500ed1bfa8d20f59dfb524558872e6b344af6 /scripts/gdb/linux/utils.py | |
parent | wifi: mt76: mt7925: add RNR scan support for 6GHz (diff) | |
download | wireguard-linux-8f30e2b059757d8711a823e4c9c023db62a1d171.tar.xz wireguard-linux-8f30e2b059757d8711a823e4c9c023db62a1d171.zip |
wifi: mt76: mt7996: Fix null-ptr-deref in mt7996_mmio_wed_init()
devm_ioremap() returns NULL on error. Currently, mt7996_mmio_wed_init()
does not check for this case, which results in a NULL pointer
dereference.
Prevent null pointer dereference in mt7996_mmio_wed_init()
Fixes: 83eafc9251d6 ("wifi: mt76: mt7996: add wed tx support")
Signed-off-by: Henry Martin <bsdhenrymartin@gmail.com>
Link: https://patch.msgid.link/20250407032349.83360-1-bsdhenrymartin@gmail.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions