Hey, I've sent this before, ages ago, but haven't really followed through with it. I still think it would be useful for many scenarios where a plain number is a clumsy interface for a module param.
Thoughts? BR, Jani. Cc: Andrew Morton <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Lucas De Marchi <[email protected]> Jani Nikula (1): module: add enum module parameter type to map names to values include/linux/moduleparam.h | 64 +++++++++++++++++++++++++++++++++++++ kernel/params.c | 41 ++++++++++++++++++++++++ 2 files changed, 105 insertions(+) -- 2.30.2
