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

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] 13+ messages in thread

end of thread, other threads:[~2022-04-25 13:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-14 12:30 [Intel-gfx] [PATCH 0/1] add support for enum module parameters Jani Nikula
2022-04-14 12:30 ` [Intel-gfx] [PATCH 1/1] module: add enum module parameter type to map names to values Jani Nikula
2022-04-14 13:19 ` [Intel-gfx] [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
2022-04-14 13:59 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2022-04-14 13:59 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-04-14 14:22 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-04-14 16:49 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox