[alsa-devel] [PATCH 13/15] module_param: make bool parameters really bool (sound)
rusty at rustcorp.com.au
Mon Dec 19 02:55:40 CET 2011
On Thu, 15 Dec 2011 13:33:50 +0100, Takashi Iwai <tiwai at suse.de> wrote:
> At Thu, 15 Dec 2011 13:49:36 +1030,
> Rusty Russell wrote:
> > 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.
> > Cc: Jaroslav Kysela <perex at perex.cz>
> > Cc: Takashi Iwai <tiwai at suse.de>
> > Cc: alsa-devel at alsa-project.org
> > Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
> Acked-by: Takashi Iwai <tiwai at suse.de>
> (Maybe it'd be good to change with true and false instead of 1 and 0,
> too. But it's subtle things and we don't have to mix up in a single
> Rusty, would you like to merge from your tree, or shall I merge
> through sound tree?
Please take it :)
I'll take the bint one, since that's got other dependencies, but this
one is pure cleanup.
More information about the Alsa-devel