liquidio: fix issues with fw_type module parameter
authorDerek Chickles <derek.chickles@cavium.com>
Mon, 14 Aug 2017 19:17:56 +0000 (12:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Aug 2017 05:25:20 +0000 (22:25 -0700)
commitd396179c166932e51b3a65c4f766671ac4e48763
treedcfcf046b083e341bcd4b19e84ebda759fc3c529
parent2587b52a7b5a916f2c91fa6acf6851615b215596
liquidio: fix issues with fw_type module parameter

The fw_type module parameter isn't showing up in the
/sys/module/liquidio/parameters directory.  Fix it by setting the read
permission bits for user, group, other in module_param_string().  Revise
the description of fw_type.  Initialize the fw_type static char array with
the default value to conform to the module parameter description.

Signed-off-by: Derek Chickles <derek.chickles@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/lio_main.c