paride: fix the "verbose" module param
authorDan Carpenter <[email protected]>
Wed, 15 Apr 2015 23:16:36 +0000 (16:16 -0700)
committerLinus Torvalds <[email protected]>
Wed, 15 Apr 2015 23:35:22 +0000 (16:35 -0700)
The verbose module parameter can be set to 2 for extremely verbose
messages so the type should be int instead of bool.

Signed-off-by: Dan Carpenter <[email protected]>
Cc: Tim Waugh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/block/paride/pg.c

index 2ce3dfd7e6b9bafd65c670aa45bf3a8660578360..876d0c3eaf5881087daa6b3b640c43749d26e9f4 100644 (file)
 
 */
 
-static bool verbose = 0;
+static int verbose;
 static int major = PG_MAJOR;
 static char *name = PG_NAME;
 static int disable = 0;
@@ -168,7 +168,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_SLV, D_DLY};
 
 #include <asm/uaccess.h>
 
-module_param(verbose, bool, 0644);
+module_param(verbose, int, 0644);
 module_param(major, int, 0);
 module_param(name, charp, 0);
 module_param_array(drive0, int, NULL, 0);