Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

paride/pcd: fix bool verbose module parameter.

Dan Carpenter points out that it's an int, not a bool:

pcd.c:427: if (verbose > 1)
pcd.c:433: if (verbose > 1)
pcd.c:437: if (verbose < 2)
pcd.c:506:#define DBMSG(msg) ((verbose>1)?(msg):NULL)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Dan Carpenter <dan.carpenter@oracle.com>

+1 -1
+1 -1
drivers/block/paride/pcd.c
··· 144 144 static DEFINE_MUTEX(pcd_mutex); 145 145 static DEFINE_SPINLOCK(pcd_lock); 146 146 147 - module_param(verbose, bool, 0644); 147 + module_param(verbose, int, 0644); 148 148 module_param(major, int, 0); 149 149 module_param(name, charp, 0); 150 150 module_param(nice, int, 0);