[alsa-devel] [PATCH 13/15] module_param: make bool parameters really bool (sound)

Takashi Iwai tiwai at suse.de
Mon Dec 19 10:36:33 CET 2011


At Mon, 19 Dec 2011 12:25:40 +1030,
Rusty Russell wrote:
> 
> 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
> >  patch.)
> > 
> > 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.

OK, I merged it now.


thanks,

Takashi


More information about the Alsa-devel mailing list