linux-next: build warning after merge of the staging tree

From: Stephen Rothwell
Date: Thu Dec 12 2019 - 20:10:50 EST


Hi all,

After merging the staging tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

WARNING: drivers/isdn/capi/kernelcapi.o(.text+0x204b): Section mismatch in reference from the function kcapi_exit() to the function .exit.text:kcapi_proc_exit()
The function kcapi_exit() references a function in an exit section.
Often the function kcapi_proc_exit() has valid usage outside the exit section
and the fix is to remove the __exit annotation of kcapi_proc_exit.

Introduced by commit

f59aba2f7579 ("isdn: capi: dead code removal")

--
Cheers,
Stephen Rothwell

Attachment: pgpfGOxd7KOqC.pgp
Description: OpenPGP digital signature