On Tue 2022-07-12 07:52 +0200, Christophe Leroy wrote: > In init/Kconfig, the part dedicated to modules is quite large. > > Move it into a dedicated Kconfig in kernel/module/ > > MODULES_TREE_LOOKUP was outside of the 'if MODULES', but as it is > only used when MODULES are set, move it in with everything else to > avoid confusion. > > MODULE_SIG_FORMAT is left in init/Kconfig because this configuration > item is not used in kernel/modules/ but in kernel/ and can be > selected independently from CONFIG_MODULES. It is for instance > selected from security/integrity/ima/Kconfig. > > Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx> > --- > init/Kconfig | 293 +----------------------------------------- > kernel/module/Kconfig | 293 ++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 294 insertions(+), 292 deletions(-) > create mode 100644 kernel/module/Kconfig Thanks Christophe! Reviewed-by: Aaron Tomlin <atomlin@xxxxxxxxxx> -- Aaron Tomlin