]> git.baikalelectronics.ru Git - kernel.git/commit
paride/pcd: fix bool verbose module parameter.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:26 +0000 (09:32 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:26 +0000 (09:32 +1030)
commit2746ecde945d291614da177bdf014c14d48840a7
tree5380241debd3a95155c4d1c415bbff726ef97563
parent157eb9e5eb66c3ffc45b359329a017a375fe1300
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>
drivers/block/paride/pcd.c