Skip to contentSkip to conversation

paride: fix the "verbose" module param

PATCH New Dan Carpenter 1 participant 1 message Feb 28, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 paride: fix the "verbose" module param

The verbose module parameter can be set to 2 for extremely verbose messages so the type should be int instead of bool.

drivers/block/paride/pg.c +2 -2
index 2ce3dfd..876d0c3 100644
@@ -137,7 +137,7 @@
 
 */
 
-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);