Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 946e8798 authored by Dan Carpenter's avatar Dan Carpenter Committed by Linus Torvalds
Browse files

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.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Cc: Tim Waugh <tim@cyberelk.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 23f40a94
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -137,7 +137,7 @@


*/
*/


static bool verbose = 0;
static int verbose;
static int major = PG_MAJOR;
static int major = PG_MAJOR;
static char *name = PG_NAME;
static char *name = PG_NAME;
static int disable = 0;
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>
#include <asm/uaccess.h>


module_param(verbose, bool, 0644);
module_param(verbose, int, 0644);
module_param(major, int, 0);
module_param(major, int, 0);
module_param(name, charp, 0);
module_param(name, charp, 0);
module_param_array(drive0, int, NULL, 0);
module_param_array(drive0, int, NULL, 0);