linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] add support for enum module parameters
@ 2022-04-14 12:30 Jani Nikula
  2022-04-14 12:30 ` [PATCH 1/1] module: add enum module parameter type to map names to values Jani Nikula
  2022-04-14 13:19 ` [PATCH 0/1] add support for enum module parameters Greg Kroah-Hartman
  0 siblings, 2 replies; 9+ messages in thread
From: Jani Nikula @ 2022-04-14 12:30 UTC (permalink / raw)
  To: linux-kernel
  Cc: intel-gfx, dri-devel, jani.nikula, Andrew Morton,
	Greg Kroah-Hartman, Lucas De Marchi

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 <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-04-22 21:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-14 12:30 [PATCH 0/1] add support for enum module parameters Jani Nikula
2022-04-14 12:30 ` [PATCH 1/1] module: add enum module parameter type to map names to values Jani Nikula
2022-04-14 13:19 ` [PATCH 0/1] add support for enum module parameters Greg Kroah-Hartman
2022-04-14 14:22   ` Jani Nikula
2022-04-14 14:29     ` Greg Kroah-Hartman
2022-04-20  5:13     ` Kalle Valo
2022-04-20  6:38       ` Greg Kroah-Hartman
2022-04-20 15:35       ` Ben Greear
2022-04-22 20:44       ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).