diff options
| author | Sean Wang <sean.wang@mediatek.com> | 2026-03-06 17:22:27 -0600 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2026-03-24 15:49:32 +0000 |
| commit | 292651cafac012ebad3d9d68b38f69117da4685d (patch) | |
| tree | 76fe4e89da1defc751db56155b8747a74e21bec9 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 8951131c18979b9d40d0f8a164be0432e8d1083b (diff) | |
wifi: mt76: mt7925: validate mlink in sta_hdr_trans_tlv()
Replace the dead wcid NULL check in mt7925_mcu_sta_hdr_trans_tlv() with
a WARN_ON_ONCE() guard on mlink before dereferencing mlink->wcid.
wcid is always derived from mlink, so mlink is the only meaningful
object to validate here.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Link: https://patch.msgid.link/20260306232238.2039675-9-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
