[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120103125813.GB3626@mwanda>
Date: Tue, 3 Jan 2012 15:58:13 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Rusty Russell <rusty@...tcorp.com.au>
Cc: lkml - Kernel Mailing List <linux-kernel@...r.kernel.org>,
Pawel Moll <pawel.moll@....com>
Subject: Re: [PATCH 12/15] module_param: make bool parameters really bool
(drivers & misc)
On Thu, Dec 15, 2011 at 01:48:51PM +1030, Rusty Russell wrote:
> diff --git a/drivers/block/paride/pcd.c b/drivers/block/paride/pcd.c
> --- a/drivers/block/paride/pcd.c
> +++ b/drivers/block/paride/pcd.c
> @@ -105,13 +105,14 @@
> #define PCD_NAME "pcd"
> #define PCD_UNITS 4
>
> +#include <linux/types.h>
> /* Here are things one can override from the insmod command.
> Most are autoprobed by paride unless set here. Verbose is off
> by default.
>
> */
>
> -static int verbose = 0;
> +static bool verbose = 0;
This should be int. Verbose can be set to 2 for extra verbosity.
Btw, these patches that touch a ton of drivers are the wrong idea.
If you ack any part of it, then get_maintainer.pl CCs you on every
single kernel patch until eventually you get old and die.
regards,
dan carpenter
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists