summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2022-12-07 15:30:04 +0800
committerFelix Fietkau <nbd@nbd.name>2022-12-09 16:45:39 +0100
commit063cca0252b46970e7e9ca423d5e930be3179aa1 (patch)
treea0f53d3e1a934a2363406e5c517d90fe930b332c /tools/perf/scripts/python/export-to-postgresql.py
parent7176fe656f1b5cf5aa6d5d306d0710c4e5d7a6b5 (diff)
wifi: mt76: mt7996: fix unintended sign extension of mt7996_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. Reported-by: coverity-bot <keescook+coverity-bot@chromium.org> Addresses-Coverity-ID: 1527813 ("Integer handling issues") Fixes: 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices") 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