Re: [PATCH 3/3] include/linux/module.h: copy __init/__exit attrs to init/cleanup_module

2019-02-11 Thread Jessica Yu
+++ Miguel Ojeda [09/02/19 01:08 +0100]: The upcoming GCC 9 release extends the -Wmissing-attributes warnings (enabled by -Wall) to C and aliases: it warns when particular function attributes are missing in the aliases but not in their target. In particular, it triggers for all the

[PATCH 3/3] include/linux/module.h: copy __init/__exit attrs to init/cleanup_module

2019-02-08 Thread Miguel Ojeda
The upcoming GCC 9 release extends the -Wmissing-attributes warnings (enabled by -Wall) to C and aliases: it warns when particular function attributes are missing in the aliases but not in their target. In particular, it triggers for all the init/cleanup_module aliases in the kernel (defined by