summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-28 08:49:51 -0400
committerTom Rini <trini@konsulko.com>2017-06-05 14:13:12 -0400
commit18b29165854ba180ce3348e404f11a3e988fc726 (patch)
tree77d74714eed8d035513e3a284c08d1dcedf6bdde /arch/arm/cpu/armv8
parent4e33316f656bf9a893ad0e828cc9a0acbc0a9d30 (diff)
downloadu-boot-18b29165854ba180ce3348e404f11a3e988fc726.tar.gz
u-boot-18b29165854ba180ce3348e404f11a3e988fc726.tar.bz2
u-boot-18b29165854ba180ce3348e404f11a3e988fc726.zip
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>
Diffstat (limited to 'arch/arm/cpu/armv8')
0 files changed, 0 insertions, 0 deletions