From: Dan Carpenter Date: Wed, 15 Apr 2015 23:16:36 +0000 (-0700) Subject: paride: fix the "verbose" module param X-Git-Tag: v4.1-rc1~115^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=946e87981942552e526aca9cb6204f02a6c847cb;p=platform%2Fkernel%2Flinux-exynos.git 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 Cc: Tim Waugh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c index 2ce3dfd..876d0c3 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 -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);