diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-04-15 19:16:36 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 19:35:22 -0400 |
| commit | 946e87981942552e526aca9cb6204f02a6c847cb (patch) | |
| tree | 91dc734adc8025d1f0997e00f66541c685d2ef1a /drivers/block/paride | |
| parent | 23f40a94d860449f39f00c3350bf850d15983e63 (diff) | |
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: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Tim Waugh <tim@cyberelk.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/paride')
| -rw-r--r-- | drivers/block/paride/pg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c index 2ce3dfd7e6b9..876d0c3eaf58 100644 --- a/drivers/block/paride/pg.c +++ b/drivers/block/paride/pg.c | |||
| @@ -137,7 +137,7 @@ | |||
| 137 | 137 | ||
| 138 | */ | 138 | */ |
| 139 | 139 | ||
| 140 | static bool verbose = 0; | 140 | static int verbose; |
| 141 | static int major = PG_MAJOR; | 141 | static int major = PG_MAJOR; |
| 142 | static char *name = PG_NAME; | 142 | static char *name = PG_NAME; |
| 143 | static int disable = 0; | 143 | static int disable = 0; |
| @@ -168,7 +168,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_SLV, D_DLY}; | |||
| 168 | 168 | ||
| 169 | #include <asm/uaccess.h> | 169 | #include <asm/uaccess.h> |
| 170 | 170 | ||
| 171 | module_param(verbose, bool, 0644); | 171 | module_param(verbose, int, 0644); |
| 172 | module_param(major, int, 0); | 172 | module_param(major, int, 0); |
| 173 | module_param(name, charp, 0); | 173 | module_param(name, charp, 0); |
| 174 | module_param_array(drive0, int, NULL, 0); | 174 | module_param_array(drive0, int, NULL, 0); |
