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

From: Miroslav Benes
Date: Fri Jun 05 2020 - 03:50:52 EST


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.

Unfortunate though.

Miroslav