warning about ib_cache_cleanup

From: Yinghai Lu
Date: Tue May 24 2011 - 18:05:31 EST


WARNING: vmlinux.o(.init.text+0x439b9): Section mismatch in reference
from the function ib_core_init() to the function
.exit.text:ib_cache_cleanup()
The function __init ib_core_init() references
a function __exit ib_cache_cleanup().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __exit annotation of
ib_cache_cleanup() so it may be used outside an exit section.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/