module: extend 'rodata=off' boot cmdline parameter to module mappings
Hi Akashi,
your patch "module: extend 'rodata=off' boot cmdline parameter to module mappings" showed up in linux-next today, and I noticed a small error in it.
The first modified #ifdef is fine, the second one, however, has a spelling mistake in it: the CONFIG_ variable should be CONFIG_DEBUG_SET_MODULE_RONX instead of CONFIG_SET_MODULE_RONX (note the missing DEBUG).
I noticed it by running 'scripts/checkkconfigsymbols -f --force -f next-20161124..next-20161128', which is essentialy diffing the last two linux-next releases and looks for undefined/unknown Kconfig symbols. You can also run the script on single commits with -c to test them.
Best regards,
Andreas
Quoted 8 lines · Andreas Ziegler
Hi Akashi,
your patch "module: extend 'rodata=off' boot cmdline parameter to module mappings" showed up in linux-next today, and I noticed a small error in it.
The first modified #ifdef is fine, the second one, however, has a spelling mistake in it: the
CONFIG_variable should beCONFIG_DEBUG_SET_MODULE_RONXinstead ofCONFIG_SET_MODULE_RONX(note the missing DEBUG).
Thank you for pointing this out.
(I didn't notice it because DEBUG_RODATA is always on on arm64.)
Rusty, Jessica, should I submit v4 to correct it?
-Takahiro AKASHI
Quoted 8 lines
I noticed it by running '
scripts/checkkconfigsymbols-f --force -f next-20161124..next-20161128', which is essentialy diffing the last two linux-next releases and looks for undefined/unknownKconfigsymbols. You can also run the script on single commits with -c to test them.Best regards,
Andreas
+++ AKASHI Takahiro [28/11/16 18:18 +0900]:
Quoted 6 lines · Andreas Ziegler
Quoted 5 lines
Hi Akashi,
your patch "module: extend 'rodata=off' boot cmdline parameter to module mappings" showed up in linux-next today, and I noticed a small error in it.
Quoted 8 lines
Quoted 3 lines
The first modified #ifdef is fine, the second one, however, has a spelling mistake in it: the
CONFIG_variable should beCONFIG_DEBUG_SET_MODULE_RONXinstead ofCONFIG_SET_MODULE_RONX(note the missing DEBUG).Thank you for pointing this out.
(I didn't notice it becauseDEBUG_RODATAis always on on arm64.)Rusty, Jessica, should I submit v4 to correct it?
Andreas, Akashi -
The typo has been fixed with Arnd's patch:
http://lkml.kernel.org/r/[email protected]
Thanks for finding the issue!
Jessica