* [patch] paride: enable extra verbose debugging
@ 2012-11-16 6:26 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2012-11-16 6:26 UTC (permalink / raw)
To: Tim Waugh, Rusty Russell; +Cc: linux-kernel, kernel-janitors
This debug settings here are:
0 - Off
1 - Some
2 - Lots
The module_param() was incorrectly set to bool and later the variable
was updated to be bool to match. Really they should both be int.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c
index 4a27b1d..ab99ac9 100644
--- a/drivers/block/paride/pg.c
+++ b/drivers/block/paride/pg.c
@@ -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);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-16 6:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 6:26 [patch] paride: enable extra verbose debugging Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox