Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH] params: make dashes and underscores in parameter names truly equal | Date | Thu, 13 Oct 2011 09:58:07 +1030 |
| |
On Mon, 10 Oct 2011 00:03:37 +0200, Michal Schmidt <mschmidt@redhat.com> 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.
| |