@@ -175,12 +175,12 @@ struct efx_endpoint_page {
/* VFs can only use this many transmit channels */
static unsigned int vf_max_tx_channels = 2;
-module_param(vf_max_tx_channels, uint, 0444);
+module_param(vf_max_tx_channels, uint, S_IRUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(vf_max_tx_channels,
"Limit the number of TX channels VFs can use");
static int max_vfs = -1;
-module_param(max_vfs, int, 0444);
+module_param(max_vfs, int, S_IRUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(max_vfs,
"Reduce the number of VFs initialized by the driver");