summaryrefslogtreecommitdiff
path: root/configs/at91sam9g10ek_nandflash_defconfig
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2014-10-25 01:25:52 +0400
committerTom Rini <trini@ti.com>2015-01-11 17:05:03 +0300
commitf411b8f2270bc75113d60f2ad662f25de6242b7d (patch)
treeb514043733402d2e1201c73301aa0f22d0868284 /configs/at91sam9g10ek_nandflash_defconfig
parent41e82da12a7f5f12eeb5d598adcd73870ed72544 (diff)
downloadu-boot-f411b8f2270bc75113d60f2ad662f25de6242b7d.tar.xz
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 'configs/at91sam9g10ek_nandflash_defconfig')
0 files changed, 0 insertions, 0 deletions