Hi Charles, Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Chas-Williams/vlan-implement-vlan-id-and-protocol-changes/20180611-072123 config: parisc-c3000_defconfig (attached as .config) compiler: hppa-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=parisc All warnings (new ones prefixed by >>): net/core/dev.c: In function 'netdev_cmd_to_name': >> net/core/dev.c:1580:2: warning: enumeration value 'NETDEV_CHANGEVLAN' not >> handled in switch [-Wswitch] switch (cmd) { ^~~~~~ vim +/NETDEV_CHANGEVLAN +1580 net/core/dev.c 56f5aa77 Michael Chan 2017-12-16 1574 ede2762d Kirill Tkhai 2018-03-23 1575 const char *netdev_cmd_to_name(enum netdev_cmd cmd) ede2762d Kirill Tkhai 2018-03-23 1576 { ede2762d Kirill Tkhai 2018-03-23 1577 #define N(val) \ ede2762d Kirill Tkhai 2018-03-23 1578 case NETDEV_##val: \ ede2762d Kirill Tkhai 2018-03-23 1579 return "NETDEV_" __stringify(val); ede2762d Kirill Tkhai 2018-03-23 @1580 switch (cmd) { ede2762d Kirill Tkhai 2018-03-23 1581 N(UP) N(DOWN) N(REBOOT) N(CHANGE) N(REGISTER) N(UNREGISTER) ede2762d Kirill Tkhai 2018-03-23 1582 N(CHANGEMTU) N(CHANGEADDR) N(GOING_DOWN) N(CHANGENAME) N(FEAT_CHANGE) ede2762d Kirill Tkhai 2018-03-23 1583 N(BONDING_FAILOVER) N(PRE_UP) N(PRE_TYPE_CHANGE) N(POST_TYPE_CHANGE) ede2762d Kirill Tkhai 2018-03-23 1584 N(POST_INIT) N(RELEASE) N(NOTIFY_PEERS) N(JOIN) N(CHANGEUPPER) ede2762d Kirill Tkhai 2018-03-23 1585 N(RESEND_IGMP) N(PRECHANGEMTU) N(CHANGEINFODATA) N(BONDING_INFO) ede2762d Kirill Tkhai 2018-03-23 1586 N(PRECHANGEUPPER) N(CHANGELOWERSTATE) N(UDP_TUNNEL_PUSH_INFO) ede2762d Kirill Tkhai 2018-03-23 1587 N(UDP_TUNNEL_DROP_INFO) N(CHANGE_TX_QUEUE_LEN) 9daae9bd Gal Pressman 2018-03-28 1588 N(CVLAN_FILTER_PUSH_INFO) N(CVLAN_FILTER_DROP_INFO) 9daae9bd Gal Pressman 2018-03-28 1589 N(SVLAN_FILTER_PUSH_INFO) N(SVLAN_FILTER_DROP_INFO) 3f5ecd8a Kirill Tkhai 2018-04-26 1590 } ede2762d Kirill Tkhai 2018-03-23 1591 #undef N ede2762d Kirill Tkhai 2018-03-23 1592 return "UNKNOWN_NETDEV_EVENT"; ede2762d Kirill Tkhai 2018-03-23 1593 } ede2762d Kirill Tkhai 2018-03-23 1594 EXPORT_SYMBOL_GPL(netdev_cmd_to_name); ede2762d Kirill Tkhai 2018-03-23 1595 :::::: The code at line 1580 was first introduced by commit :::::: ede2762d93ff16e0974f7446516b46b1022db213 net: Make NETDEV_XXX commands enum { } :::::: TO: Kirill Tkhai <ktk...@virtuozzo.com> :::::: CC: David S. Miller <da...@davemloft.net> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip