On Mon, Nov 21, 2022 at 06:22:36PM +0100, Uwe Kleine-König wrote: > ccree_init() calls cc_debugfs_global_fini(), the former is an init > function and the latter an exit function though. > > A modular build emits: > > WARNING: modpost: drivers/crypto/ccree/ccree.o: section mismatch in reference: init_module (section: .init.text) -> cc_debugfs_global_fini (section: .exit.text) > > (with CONFIG_DEBUG_SECTION_MISMATCH=y). > > Fixes: 4f1c596df706 ("crypto: ccree - Remove debugfs when platform_driver_register failed") > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> > --- > drivers/crypto/ccree/cc_debugfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt