diff options
author | Andreas Bießmann <andreas.devel@googlemail.com> | 2014-10-24 23:25:52 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-11 09:05:03 -0500 |
commit | f411b8f2270bc75113d60f2ad662f25de6242b7d (patch) | |
tree | b514043733402d2e1201c73301aa0f22d0868284 /include/configs/sama5d3_xplained.h | |
parent | 41e82da12a7f5f12eeb5d598adcd73870ed72544 (diff) | |
download | u-boot-imx-f411b8f2270bc75113d60f2ad662f25de6242b7d.zip u-boot-imx-f411b8f2270bc75113d60f2ad662f25de6242b7d.tar.gz u-boot-imx-f411b8f2270bc75113d60f2ad662f25de6242b7d.tar.bz2 |
tools/kwbimage.c: fix parser error handling
The two error checks for image_boot_mode_id and image_nand_ecc_mode_id where
wrong and would never fail, fix that!
This was detected by Apple's clang compiler:
---8<---
HOSTCC tools/kwbimage.o
tools/kwbimage.c:553:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (el->bootfrom < 0) {
~~~~~~~~~~~~ ^ ~
tools/kwbimage.c:571:23: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (el->nandeccmode < 0) {
~~~~~~~~~~~~~~~ ^ ~
2 warnings generated.
--->8---
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Acked-By: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'include/configs/sama5d3_xplained.h')
0 files changed, 0 insertions, 0 deletions