Files
linux/kernel
Rusty Russell 9b473de872 param: Fix duplicate module prefixes
Instead of insisting each new module_param sysfs entry is unique,
handle the case where it already exists (for builtin modules).

The current code assumes that all identical prefixes are together in
the section: true for normal uses, but not necessarily so if someone
overrides MODULE_PARAM_PREFIX.  More importantly, it's not true with
the new "core_param()" code which uses "kernel" as a prefix.

This simplifies the caller for the builtin case, at a slight loss of
efficiency (we do the lookup every time to see if the directory
exists).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
2008-10-22 10:00:23 +11:00
..
2008-10-14 14:27:20 +02:00
2008-10-16 11:21:30 -07:00
2008-07-26 20:53:20 -04:00
2008-03-30 14:18:41 -07:00
2008-09-14 16:25:35 +02:00
2008-07-28 14:37:38 +02:00
2007-07-16 09:05:50 -07:00
2008-08-13 12:55:10 +02:00
2008-10-22 10:00:23 +11:00
2008-09-02 19:21:40 -07:00
2008-10-20 08:52:39 -07:00
2008-10-16 11:21:31 -07:00
2008-02-06 10:41:02 -08:00
2008-10-16 11:21:51 -07:00
2008-07-25 10:53:45 -07:00
2008-10-20 08:52:31 -07:00
2008-10-14 10:38:23 +02:00
2008-10-16 11:21:47 -07:00
2008-10-16 11:21:31 -07:00