Skip to contentSkip to conversation

module: extend 'rodata=off' boot cmdline parameter to module mappings

PATCH Andreas Ziegler 3 participants 3 messages Nov 28, 2016

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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 be CONFIG_DEBUG_SET_MODULE_RONX instead of CONFIG_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/unknown Kconfig symbols. You can also run the script on single commits with -c to test them.

Best regards,

Andreas

#2 lore raw

+++ 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 be CONFIG_DEBUG_SET_MODULE_RONX instead of CONFIG_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?

Andreas, Akashi -

The typo has been fixed with Arnd's patch:

http://lkml.kernel.org/r/[email protected]

Thanks for finding the issue!

Jessica