diff options
| author | Ryder Lee <[email protected]> | 2022-12-07 15:30:05 +0800 |
|---|---|---|
| committer | Felix Fietkau <[email protected]> | 2022-12-09 16:45:39 +0100 |
| commit | edb0406bda4629ef496f52eb11cbea7e92ed301b (patch) | |
| tree | 8dbc25c8b292f25c419c1c096e2312d71473b965 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 063cca0252b46970e7e9ca423d5e930be3179aa1 (diff) | |
wifi: mt76: mt7915: fix unintended sign extension of mt7915_hw_queue_read()
In the expression "map[i].qid << 24" starts as u8, but is promoted to
"signed int", then sign-extended to type "unsigned long", which is not
intended. Cast to u32 to avoid the sign extension.
Fixes: 776ec4e77aa6 ("mt76: mt7915: rework debugfs queue info")
Signed-off-by: Ryder Lee <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions