Re: [PATCH 13/15] module_param: make bool parameters really bool (sound)

From: Rusty Russell
Date: Mon Dec 19 2011 - 01:10:02 EST


On Thu, 15 Dec 2011 13:33:50 +0100, Takashi Iwai <tiwai@xxxxxxx> 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@xxxxxxxx>
> > Cc: Takashi Iwai <tiwai@xxxxxxx>
> > Cc: alsa-devel@xxxxxxxxxxxxxxxx
> > Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
>
> Acked-by: Takashi Iwai <tiwai@xxxxxxx>
>
> (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.

Thanks!
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/