aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2016-06-18 10:56:43 +0200
committerLinus Walleij <[email protected]>2016-06-18 10:56:43 +0200
commite2f608be640a126da50be605e1a81b988c9ac0d6 (patch)
treef9c73ed5cb33e94a9aedb9c280dcc7bdacd15d8f /scripts/gdb/linux/proc.py
parentbc0207a5461169eba13e9421bd7632399b72e3ab (diff)
gpio: make the iterator point to last handle
When initializing the GPIO handles, we use the iterator (i) to back off if something goes wrong. But since the iterator is also used after we pass the loop, we must decrement by one after exiting the loop so that we point at the last element in the array. Reported-by: Dan Carpenter <[email protected]> Cc: Dan Carpenter <[email protected]> Cc: Walter Harms <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions