[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111220.015636.1219874929301115567.davem@davemloft.net>
Date: Tue, 20 Dec 2011 01:56:36 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: rusty@...tcorp.com.au
Cc: joe@...ches.com, netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] module_param: make bool parameters really bool
(net & drivers/net)
From: Rusty Russell <rusty@...tcorp.com.au>
Date: Tue, 20 Dec 2011 10:38:01 +1030
> module_param(bool) used to counter-intuitively take an int. In
> fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
> trick.
>
> It's time to remove the int/unsigned int option. For this version
> it'll simply give a warning, but it'll break next kernel version.
>
> (Thanks to Joe Perches for suggesting coccinelle for 0/1 -> true/false).
>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: netdev@...r.kernel.org
> Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists