Re: [PATCH v4 06/10] modpost: Add modinfo flag to livepatch modules

From: Miroslav Benes
Date: Fri Aug 16 2019 - 04:19:56 EST


Hi,

> I cleaned up the build system, and pushed it based on my
> kbuild tree.
>
> Please see:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
> klp-cleanup

This indeed looks much simpler and cleaner (as far as I can judge with my
limited kbuild knowledge). We just need to remove MODULE_INFO(livepatch,
"Y") from lib/livepatch/test_klp_convert_mod_a.c to make it compile and
work (test_klp_convert_mod_a is not a livepatch module, it is just a dummy
module which is then livepatched by lib/livepatch/test_klp_convert1.c).

Thanks a lot!

Miroslav