linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] module: make structure definitions always visible
@ 2025-06-12 14:53 Thomas Weißschuh
  2025-06-12 14:53 ` [PATCH 1/3] module: move 'struct module_use' to internal.h Thomas Weißschuh
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Thomas Weißschuh @ 2025-06-12 14:53 UTC (permalink / raw)
  To: Luis Chamberlain, Petr Pavlu, Sami Tolvanen, Daniel Gomez,
	Brendan Higgins, David Gow, Rae Moar
  Cc: linux-modules, linux-kernel, linux-kselftest, kunit-dev,
	Thomas Weißschuh

Code using IS_ENABLED(CONFIG_MODULES) as a C expression may need access
to the module structure definitions to compile.
Make sure these structure definitions are always visible.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Thomas Weißschuh (3):
      module: move 'struct module_use' to internal.h
      module: make structure definitions always visible
      kunit: test: Drop CONFIG_MODULE ifdeffery

 include/linux/module.h   | 30 ++++++++++++------------------
 kernel/module/internal.h |  7 +++++++
 lib/kunit/test.c         |  8 --------
 3 files changed, 19 insertions(+), 26 deletions(-)
---
base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
change-id: 20250611-kunit-ifdef-modules-0fefd13ae153

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh@linutronix.de>


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

end of thread, other threads:[~2025-07-11 13:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-12 14:53 [PATCH 0/3] module: make structure definitions always visible Thomas Weißschuh
2025-06-12 14:53 ` [PATCH 1/3] module: move 'struct module_use' to internal.h Thomas Weißschuh
2025-06-17  7:38   ` Petr Pavlu
2025-06-19 16:27   ` Daniel Gomez
2025-06-12 14:53 ` [PATCH 2/3] module: make structure definitions always visible Thomas Weißschuh
2025-07-07 19:11   ` Daniel Gomez
2025-07-08  9:32     ` Petr Pavlu
2025-07-11  6:29     ` Thomas Weißschuh
2025-07-11 13:24       ` Daniel Gomez
2025-07-08  9:39   ` Petr Pavlu
2025-06-12 14:53 ` [PATCH 3/3] kunit: test: Drop CONFIG_MODULE ifdeffery Thomas Weißschuh
2025-06-17  7:44   ` Petr Pavlu
2025-06-17  8:39     ` Thomas Weißschuh
2025-06-17 15:07       ` Petr Pavlu
2025-06-20  9:51   ` David Gow
2025-07-11 13:25   ` Daniel Gomez

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).