The following changes since commit 260f6f4fda93c8485c8037865c941b42b9cba5d2:
Merge tag 'drm-next-2025-07-30' of https://gitlab.freedesktop.org/drm/kernel (2025-07-30 19:26:49 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git/ tags/modules-6.17-rc1 for you to fetch changes up to 40a826bd6c82ae45cfd3a19cd2a60a10f56b74c0: module: Rename MAX_PARAM_PREFIX_LEN to __MODULE_NAME_LEN (2025-07-31 13:57:47 +0200) ---------------------------------------------------------------- This is a small set of changes for modules, primarily to extend module users to use the module data structures in combination with the already no-op stub module functions, even when support for modules is disabled in the kernel configuration. This change follows the kernel's coding style for conditional compilation and allows kunit code to drop all CONFIG_MODULES ifdefs, which is also part of the changes. This should allow others part of the kernel to do the same cleanup. Note that this had a conflict with sysctl changes [1] but should be fixed now as I rebased on top. The remaining changes include a fix for module name length handling which could potentially lead to the removal of an incorrect module, and various cleanups. The module name fix and related cleanup has been in linux-next since Thursday (July 31) while the rest of the changes for a bit more than 3 weeks. Note that this currently has conflicts in next with kbuild's tree [2]. Link: https://lore.kernel.org/all/20250714175916.774e6...@canb.auug.org.au/ [1] Link: https://lore.kernel.org/all/20250801132941.6815d...@canb.auug.org.au/ [2] ---------------------------------------------------------------- Petr Pavlu (5): module: Prevent silent truncation of module name in delete_module(2) module: Remove unnecessary +1 from last_unloaded_module::name size module: Restore the moduleparam prefix length check tracing: Replace MAX_PARAM_PREFIX_LEN with MODULE_NAME_LEN module: Rename MAX_PARAM_PREFIX_LEN to __MODULE_NAME_LEN 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 | 29 +++++++++++------------------ include/linux/moduleparam.h | 15 +++++++++------ kernel/module/internal.h | 7 +++++++ kernel/module/main.c | 12 +++++++----- kernel/trace/trace.c | 2 +- lib/kunit/test.c | 8 -------- 6 files changed, 35 insertions(+), 38 deletions(-)