diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-06-26 23:24:32 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-11 14:06:44 -0600 |
commit | 94fbd3e37d6bdbf5490a185607ca20f862637220 (patch) | |
tree | 98f3f28b8af3ac5f9d5a859174c7f56776e621fc /tools/mkimage.c | |
parent | 57b6b190a8926403dca2444a45c34bed1f62992d (diff) | |
download | u-boot-imx-94fbd3e37d6bdbf5490a185607ca20f862637220.zip u-boot-imx-94fbd3e37d6bdbf5490a185607ca20f862637220.tar.gz u-boot-imx-94fbd3e37d6bdbf5490a185607ca20f862637220.tar.bz2 |
tools: patman: Handle missing 'END' in non-last commit of a series
The following python error:
Traceback (most recent call last):
File "./tools/patman/patman", line 144, in <module>
series = patchstream.FixPatches(series, args)
File "./tools/patman/patchstream.py", line 477, in FixPatches
commit = series.commits[count]
IndexError: list index out of range
is seen when:
- 'END' is missing in those tags
- those tags are put in the last part in a commit message
- the commit is not the last commit of the series
Add testing logic to see if a new commit starts.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/mkimage.c')
0 files changed, 0 insertions, 0 deletions