diff options
author | Henry Martin <bsdhenrymartin@gmail.com> | 2025-04-07 11:23:49 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2025-05-22 12:57:36 +0200 |
commit | 8f30e2b059757d8711a823e4c9c023db62a1d171 (patch) | |
tree | 5e9500ed1bfa8d20f59dfb524558872e6b344af6 /tools/perf/scripts/python/stackcollapse.py | |
parent | 8284815ca161e0fa0861cc4085f1c0141e10a34d (diff) |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions