Re: [PATCH] params: make dashes and underscores in parameter names truly equal

From: Rusty Russell
Date: Wed Oct 12 2011 - 20:50:35 EST


On Mon, 10 Oct 2011 00:03:37 +0200, Michal Schmidt <mschmidt@xxxxxxxxxx> wrote:
> The user may use "foo-bar" for a kernel parameter defined as "foo_bar".
> Make sure it works the other way around too.

Hi Michal,

Idea is solid, implementation has a few quirks. As the name
obsolete_checksetup() implies, this was only supposed to be a crutch for
old __setup() calls. Modern code should be using module_param() or
core_param().

Did you have a specific example? Perhaps we should work on converting
them all, which would have beneficial side-effects as we poke into old
code...

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/