aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorShayne Chen <[email protected]>2021-07-20 10:48:32 +0800
committerFelix Fietkau <[email protected]>2021-10-20 10:36:31 +0200
commit82a980f82a511ce74ab57eb9f692d02225eb32f4 (patch)
tree657879d35e0b3f75f52ab52c35bcb0d0ec64d23f /tools/perf/scripts/python/mem-phys-addr.py
parent7780ba75c5da07cf55a88886691e94f3c71e82ad (diff)
mt76: mt7915: fix potential overflow of eeprom page index
If total eeprom size is divisible by per-page size, the i in for loop will exceed max page index, which happens in our newer chipset. Fixes: 26f18380e6ca ("mt76: mt7915: add support for flash mode") Signed-off-by: Bo Jiao <[email protected]> Signed-off-by: Shayne Chen <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions