Skip to content

Commit

Permalink
paride: fix the "verbose" module param
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Dan Carpenter authored and torvalds committed Apr 15, 2015
1 parent 23f40a9 commit 946e879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/block/paride/pg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 946e879

Please sign in to comment.