linux-next: build failure after merge of the modules tree

From: Stephen Rothwell
Date: Tue Jun 25 2019 - 00:28:02 EST


Hi Jessica,

After merging the modules tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

kernel/module.c: In function 'module_enable_x':
kernel/module.c:2030:2: error: implicit declaration of function 'frob_text'; did you mean 'rb_next'? [-Werror=implicit-function-declaration]
frob_text(&mod->core_layout, set_memory_x);
^~~~~~~~~
rb_next

Caused by commit

2eef1399a866 ("modules: fix BUG when load module with rodata=n")

frob_text() only exists when CONFIG_STRICT_MODULE_RWX is defined.

I have used the modules tree from next-20190624 for today.



--
Cheers,
Stephen Rothwell

Attachment: pgpZ835lgsx92.pgp
Description: OpenPGP digital signature