uboot/cmd
Simon Glass a696d768c1 dm: cbfs: Fix handling of invalid type
The comment for file_cbfs_type() says that it returns 0 for an invalid type.
The code appears to check for -1, except that it uses an unsigned variable
to store the type. This results in a warning on 64-bit machines.

Adjust it to make the meaning clearer. Continue to handle the -1 case since
it may be needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
2016-03-14 15:34:50 -06:00
..
Kconfig
Makefile
aes.c
ambapp.c
armflash.c
bdinfo.c
bedbug.c
blob.c
bmp.c dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
boot.c
bootldr.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
bootm.c booti: Help text rework. 2016-02-24 18:44:12 -05:00
bootmenu.c
bootstage.c
cache.c
cbfs.c dm: cbfs: Fix handling of invalid type 2016-03-14 15:34:50 -06:00
clk.c
console.c
cplbinfo.c
cpu.c
cramfs.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
dataflash_mmc_mux.c
date.c
dcr.c
demo.c
dfu.c dfu: usb: f_dfu: Set deferred call for dfu_flush() function 2016-02-24 19:12:32 +01:00
diag.c
disk.c dm: blk: Rename get_device_and_partition() 2016-03-14 15:34:50 -06:00
display.c
dtt.c
echo.c
eeprom.c
efi.c
elf.c
ethsw.c
exit.c
ext2.c
ext4.c
fastboot.c
fat.c dm: blk: Rename get_device_and_partition() 2016-03-14 15:34:50 -06:00
fdc.c
fdt.c
fitupd.c
flash.c
fpga.c
fpgad.c
fs.c
fs_uuid.c
fuse.c
gettime.c
gpio.c gpio: Correct handling of 'gpio status' 2016-02-15 20:58:25 +00:00
gpt.c dm: blk: Rename get_dev() to blk_get_dev() 2016-03-14 15:34:50 -06:00
hash.c
help.c
host.c dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
i2c.c i2c: spd: Extend SPD memory types 2016-02-22 16:21:12 +01:00
ide.c dm: part: Rename some partition functions 2016-03-14 15:34:50 -06:00
immap.c
ini.c
io.c
iotrace.c
irq.c
itest.c itest: allow map_physmem to return 0 in limited cases 2016-02-09 15:41:19 -07:00
jffs2.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
ldrinfo.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
led.c
license.c
load.c Remove unused CONFIG_CMD_HWFLOW option and associated dead code. 2016-02-08 10:22:44 -05:00
log.c
lzmadec.c
mac.c
md5sum.c
mdio.c
mem.c cmd: mem: Show 64bit addresses which are tested 2016-02-24 18:44:14 -05:00
mfsl.c
mii.c
misc.c
mmc.c dm: part: Rename some partition functions 2016-03-14 15:34:50 -06:00
mmc_spi.c
mp.c
mtdparts.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
nand.c
net.c
nvedit.c
onenand.c
otp.c
part.c dm: part: Rename some partition functions 2016-03-14 15:34:50 -06:00
pci.c Implement "pci enum" command for CONFIG_DM_PCI 2016-01-28 21:01:23 -07:00
pcmcia.c
pmic.c
portio.c
pxe.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
read.c dm: part: Rename some partition functions 2016-03-14 15:34:50 -06:00
reginfo.c
regulator.c
reiser.c dm: blk: Rename get_device_and_partition() 2016-03-14 15:34:50 -06:00
remoteproc.c
sata.c dm: part: Rename some partition functions 2016-03-14 15:34:50 -06:00
scsi.c dm: part: Rename some partition functions 2016-03-14 15:34:50 -06:00
setexpr.c
sf.c
sha1sum.c
softswitch.c
sound.c
source.c
spi.c
spibootldr.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
spl.c
strings.c
terminal.c
test.c
thordown.c
time.c
tpm.c dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
tpm_test.c
trace.c trace: Fix compiler warnings in trace 2016-02-26 08:53:10 -07:00
tsi148.c
ubi.c
ubifs.c
universe.c
unzip.c dm: blk: Rename get_device() to blk_get_device_by_str() 2016-03-14 15:34:50 -06:00
usb.c dm: part: Rename some partition functions 2016-03-14 15:34:50 -06:00
usb_mass_storage.c dm: blk: Rename get_device() to blk_get_device_by_str() 2016-03-14 15:34:50 -06:00
version.c
ximg.c
yaffs2.c
zfs.c dm: blk: Rename get_device_and_partition() 2016-03-14 15:34:50 -06:00
zip.c