mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
Fixes wrong usage of the last parameter of module_param_named()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@639 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -241,11 +241,11 @@ struct scst_vdisk_thr {
|
||||
|
||||
static struct kmem_cache *vdisk_thr_cachep;
|
||||
|
||||
static int num_threads;
|
||||
|
||||
#define DEF_NUM_THREADS 5
|
||||
|
||||
module_param_named(num_threads, num_threads, int, DEF_NUM_THREADS);
|
||||
static int num_threads = DEF_NUM_THREADS;
|
||||
|
||||
module_param_named(num_threads, num_threads, int, 0);
|
||||
MODULE_PARM_DESC(num_threads, "vdisk threads count");
|
||||
|
||||
static int vdisk_attach(struct scst_device *dev);
|
||||
|
||||
Reference in New Issue
Block a user