• Lijun Pan's avatar
    ibmvnic: fix kernel build warning · 822ebc2c
    Lijun Pan authored
    drivers/net/ethernet/ibm/ibmvnic.c: In function ‘adapter_state_to_string’:
    drivers/net/ethernet/ibm/ibmvnic.c:855:2: warning: enumeration value ‘VNIC_DOWN’ not handled in switch [-Wswitch]
      855 |  switch (state) {
          |  ^~~~~~
    drivers/net/ethernet/ibm/ibmvnic.c: In function ‘reset_reason_to_string’:
    drivers/net/ethernet/ibm/ibmvnic.c:1958:2: warning: enumeration value ‘VNIC_RESET_PASSIVE_INIT’ not handled in switch [-Wswitch]
     1958 |  switch (reason) {
          |  ^~~~~~
    Reported-by: default avatarkernel test robot <lkp@intel.com>
    Signed-off-by: default avatarLijun Pan <lijunp213@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    822ebc2c
ibmvnic.c 154 KB