u-boot/arch
Tom Rini e2bc87d41c sandbox: Fix comparison of unsigned enum expression warning
In os_dirent_get_typename() we are checking that type falls within the
known values of the enum os_dirent_t.  With clang-3.8 testing this value
as being >= 0 results in a warning as it will always be true.  This
assumes of course that we are only given valid data.  Given that we want
to sanity check the input, we change this to check that it falls within
the range of the first to the last entry in the given enum.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-06-08 20:21:59 -06:00
..
arc arc: Make u-boot-arc.h a private header 2017-06-05 11:02:31 -04:00
arm rockchip: video: rk3399: add HDMI TX support on the RK3399 2017-06-07 21:30:50 -06:00
avr32 Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
m68k spi: Zap cf_qspi driver and related code 2017-01-15 18:29:04 +01:00
microblaze spl: make image arg or fdt blob address reconfigurable 2017-05-08 11:38:40 -04:00
mips mips: Make u-boot-mips.h a private header 2017-06-05 11:02:33 -04:00
nds32 nds32: Remove include files from common.h 2017-06-05 11:02:36 -04:00
nios2 fdt: Move fdt_fixup_ethernet to a common place 2017-05-01 09:11:59 -04:00
powerpc common: freescale: Move arch-specific declarations 2017-06-05 12:30:55 -04:00
sandbox sandbox: Fix comparison of unsigned enum expression warning 2017-06-08 20:21:59 -06:00
sh sh: generate position independent code for all platforms 2016-12-02 21:32:54 -05:00
x86 x86: Don't include asm/u-boot.h in common 2017-06-05 11:02:35 -04:00
xtensa board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig Kconfig: Migrate FS_FAT / FAT_WRITE 2017-06-03 17:55:34 -04:00