summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorShayne Chen <shayne.chen@mediatek.com>2021-07-20 05:48:32 +0300
committerFelix Fietkau <nbd@nbd.name>2021-10-20 11:36:31 +0300
commit82a980f82a511ce74ab57eb9f692d02225eb32f4 (patch)
tree657879d35e0b3f75f52ab52c35bcb0d0ec64d23f /scripts
parent7780ba75c5da07cf55a88886691e94f3c71e82ad (diff)
downloadlinux-82a980f82a511ce74ab57eb9f692d02225eb32f4.tar.xz
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 'scripts')
0 files changed, 0 insertions, 0 deletions