summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorAlexey Brodkin <alexey.brodkin@synopsys.com>2019-01-22 19:33:59 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2019-01-25 08:40:53 +0300
commit7181a6d1cf71b9e97cfcf175400390f9eabde8a8 (patch)
treee77c3c4f060c3f9bab5a2ba56f0fec19c10757d6 /arch/arm/mach-omap2
parentd771dd531a1aa73e5a1d36b5c08850fc5fa29747 (diff)
ARC: Fix iteration in arc_xx_version()
"i" gets incremented before we're entering loop body and effectively we iterate from 1 to 8 instead of 0 to 7. This way we: a) Skip the first line of struct hs_versions b) Go over it and access memory beyond the structure Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'arch/arm/mach-omap2')
0 files changed, 0 insertions, 0 deletions