linux-next: build failure after merge of the compiler-attributes tree

From: Stephen Rothwell
Date: Wed Feb 06 2019 - 16:31:02 EST


Hi Miguel,

After merging the compiler-attributes tree, today's linux-next build
(arm multi_v7_defconfig) failed like this:

In file included from arch/arm/crypto/aes-neonbs-glue.c:17:
include/linux/module.h:138:7: error: section of alias 'cleanup_module' must match section of its target
void cleanup_module(void) __exit __attribute__((alias(#exitfn)));
^~~~~~~~~~~~~~
arch/arm/crypto/aes-neonbs-glue.c:433:1: note: in expansion of macro 'module_exit'
module_exit(aes_exit);
^~~~~~~~~~~

Caused by commit

b31ca3fcca36 ("include/linux/module.h: mark init/cleanup_module aliases as __init/exit")

I have used the compiler-attributes tree from next-20190206 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgptvMbgPuBNi.pgp
Description: OpenPGP digital signature