diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2022-12-07 15:30:05 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-12-09 16:45:39 +0100 |
commit | edb0406bda4629ef496f52eb11cbea7e92ed301b (patch) | |
tree | 8dbc25c8b292f25c419c1c096e2312d71473b965 /tools/perf/scripts/python/export-to-postgresql.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 <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions