u-boot-2016/cmd
Tom Rini 18b2916585 cmd/ethsw: Disable implicit enum conversion warning
With clang-3.8 we see warnings like:
cmd/ethsw.c:304:6: warning: implicit conversion from
      enumeration type 'enum ethsw_keyword_opt_id' to different enumeration type
      'enum ethsw_keyword_id' [-Wenum-conversion]
                                        ethsw_id_pvid_no,
                                        ^~~~~~~~~~~~~~~~

Because we have one enum for ethsw_keyword_id and a second enum for
ethsw_keyword_opt_id.  This ends up being safe as ethsw_keyword_opt_id
explicitly starts after ethsw_keyword_id enum ends.   Disable the
warning here rather than collapse these into one enum and rely on
comments to denote where optional keywords begin.

Cc: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2017-06-05 14:13:12 -04:00
..
fastboot
mvebu
.gitignore
aes.c
armflash.c
bdinfo.c
bedbug.c
blkcache.c
blob.c
bmp.c
boot.c
bootefi.c
booti.c
bootm.c
bootmenu.c
bootstage.c
bootz.c
cache.c
cbfs.c
clk.c
config.c
console.c
cpu.c
cramfs.c
cros_ec.c
dataflash_mmc_mux.c
date.c
dcr.c
demo.c
dfu.c
diag.c
disk.c
display.c
echo.c
eeprom.c
efi.c
elf.c
ethsw.c
exit.c
ext2.c
ext4.c
fastboot.c
fat.c
fdc.c
fdt.c
fitupd.c
flash.c
fpga.c
fpgad.c
fs.c
fs_uuid.c
fuse.c
gettime.c
gpio.c
gpt.c
hash.c
help.c
host.c
i2c.c
ide.c
ini.c
io.c
iotrace.c
irq.c
itest.c
jffs2.c
Kconfig
led.c
legacy_led.c
license.c
load.c
log.c
lzmadec.c
mac.c
Makefile
md5sum.c
mdio.c
mem.c
mfsl.c
mii.c
misc.c
mmc.c
mmc_spi.c
mp.c
mtdparts.c
nand.c
net.c
nvedit.c
onenand.c
part.c
pci.c
pcmcia.c
pmic.c
portio.c
pxe.c
qfw.c
read.c
reginfo.c
regulator.c
reiser.c
remoteproc.c
sata.c
scsi.c
setexpr.c
sf.c
sha1sum.c
sound.c
source.c
spi.c
spl.c
strings.c
terminal.c
test.c
thordown.c
time.c
tpm.c
tpm_test.c
trace.c
tsi148.c
ubi.c
ubifs.c
universe.c
unzip.c
usb.c
usb_mass_storage.c
version.c
ximg.c
yaffs2.c
zfs.c
zip.c