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 <dan.carpenter@oracle.com>
Cc: Tim Waugh <tim@cyberelk.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
Dan Carpenter authored and sfrothwell committed Mar 12, 2015
1 parent 468c192 commit f0cf181
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 f0cf181

Please sign in to comment.