]> git.baikalelectronics.ru Git - kernel.git/commit
liquidio: add missing strings in oct_dev_state_str array
authorIntiyaz Basha <intiyaz.basha@cavium.com>
Thu, 3 Aug 2017 20:08:24 +0000 (13:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 04:17:07 +0000 (21:17 -0700)
commitc9a3be50caea730d435d03c2ea90c6f52bec76ce
tree5959c541e7d5634b90eddaeedccb90a4edfc7a78
parent80580f5db752d7b9618ef274056e83b866a1b6c9
liquidio: add missing strings in oct_dev_state_str array

There's supposed to be a one-to-one correspondence between the 18 macros
that #define the OCT_DEV states (in octeon_device.h) and the strings in the
oct_dev_state_str array, but there are only 14 strings in the array.

Add the missing strings (so they become 18 in total), and also revise some
incorrect/outdated text of existing strings.

Signed-off-by: Intiyaz Basha <intiyaz.basha@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/octeon_device.c