Re: [PATCH] kernel/modules: fix build without ARCH_HAS_STRICT_MODULE_RWX

From: Jessica Yu
Date: Fri Jun 05 2020 - 05:57:36 EST


+++ Miroslav Benes [05/06/20 09:50 +0200]:
Hi,

On Thu, 4 Jun 2020, Max Filippov wrote:

On configurations with CONFIG_ARCH_HAS_STRICT_MODULE_RWX disabled kernel
build fails with the following message:

kernel/module.c:3593:2: error: implicit declaration of function
âmodule_enable_roâ;

Add empty module_enable_ro definition to fix the build.

Fixes: e6eff4376e28 ("module: Make module_enable_ro() static again")
Signed-off-by: Max Filippov <jcmvbkbc@xxxxxxxxx>

I think the problem should disappear once Jessica sends her pull request
for modules tree.

Yep, the pull request was sent today. So this should get resolved in
the next day or two.

Thanks,

Jessica