diff options
| author | Shayne Chen <shayne.chen@mediatek.com> | 2021-07-20 10:48:32 +0800 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2021-10-20 10:36:31 +0200 |
| commit | 82a980f82a511ce74ab57eb9f692d02225eb32f4 (patch) | |
| tree | 657879d35e0b3f75f52ab52c35bcb0d0ec64d23f /tools/perf/scripts/python | |
| parent | 7780ba75c5da07cf55a88886691e94f3c71e82ad (diff) | |
| download | linux-82a980f82a511ce74ab57eb9f692d02225eb32f4.tar.gz linux-82a980f82a511ce74ab57eb9f692d02225eb32f4.zip | |
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 <bo.jiao@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
