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
..
2017-02-08 15:56:28 -05:00
2017-04-12 13:28:27 -04:00
2016-03-22 12:16:08 -04:00
2016-09-09 15:53:14 -04:00
2016-05-02 18:37:09 -04:00
2017-05-22 09:33:56 -04:00
2016-04-18 17:11:36 -04:00
2017-03-17 14:15:10 -04:00
2017-01-20 09:15:24 -05:00
2017-03-28 06:27:54 +02:00
2017-01-21 15:12:33 -05:00
2017-02-08 15:56:28 -05:00
2016-01-25 10:39:43 -05:00
2016-09-01 20:08:48 -05:00
2016-12-27 11:24:18 -05:00
2016-10-06 20:57:42 -04:00
2017-06-02 10:16:46 -06:00
2017-05-22 12:45:27 -04:00
2016-09-07 08:49:02 -04:00
2017-04-05 13:52:01 -04:00
2016-03-27 09:12:55 -04:00
2017-03-26 13:22:58 -06:00
2016-02-26 08:53:10 -07:00