diff options
author | Henry Martin <bsdhenrymartin@gmail.com> | 2025-04-07 14:19:00 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2025-05-22 12:57:36 +0200 |
commit | efb95439c1477bbc955cacd0179c35e7861b437c (patch) | |
tree | 6344f041002894ab4ff8d0ce600b81ad997bce5d /tools/perf/scripts/python/stackcollapse.py | |
parent | 8f30e2b059757d8711a823e4c9c023db62a1d171 (diff) |
wifi: mt76: mt7915: Fix null-ptr-deref in mt7915_mmio_wed_init()
devm_ioremap() returns NULL on error. Currently, mt7915_mmio_wed_init()
does not check for this case, which results in a NULL pointer
dereference.
Prevent null pointer dereference in mt7915_mmio_wed_init().
Fixes: 4f831d18d12d ("wifi: mt76: mt7915: enable WED RX support")
Signed-off-by: Henry Martin <bsdhenrymartin@gmail.com>
Link: https://patch.msgid.link/20250407061900.85317-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