X-Git-Url: http://git.etherboot.org/mirror/scst/.git/blobdiff_plain/2675ddd202649bbb35a0ebb7ccc58c46652af3e6..0fc2b0ad6d4b82e7409fde5a0c7cc9072ac08088:/scst/src/scst_main.c diff --git a/scst/src/scst_main.c b/scst/src/scst_main.c index 40cb9ec..c29cbc6 100644 --- a/scst/src/scst_main.c +++ b/scst/src/scst_main.c @@ -146,11 +146,11 @@ unsigned int scst_max_dev_cmd_mem; module_param_named(scst_threads, scst_threads, int, 0); MODULE_PARM_DESC(scst_threads, "SCSI target threads count"); -module_param_named(scst_max_cmd_mem, scst_max_cmd_mem, int, 0); +module_param_named(scst_max_cmd_mem, scst_max_cmd_mem, int, S_IRUGO); MODULE_PARM_DESC(scst_max_cmd_mem, "Maximum memory allowed to be consumed by " "all SCSI commands of all devices at any given time in MB"); -module_param_named(scst_max_dev_cmd_mem, scst_max_dev_cmd_mem, int, 0); +module_param_named(scst_max_dev_cmd_mem, scst_max_dev_cmd_mem, int, S_IRUGO); MODULE_PARM_DESC(scst_max_dev_cmd_mem, "Maximum memory allowed to be consumed " "by all SCSI commands of a device at any given time in MB");