[staging:staging-next 54/100] WARNING: drivers/iio/dac/ad5064.o(.init.text+0x72): Section mismatch in reference from the function init_module() to the function .exit.text:ad5064_spi_unregister_driver()
wfg at linux.intel.com
wfg at linux.intel.com
Sat Jul 7 13:26:27 UTC 2012
Hi Lars-Peter,
There are new compile warnings show up in
tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next
head: 0932966b1ca03217c6e0c18375867b1a99ee5af0
commit: 6a17a0768f77626046aa441843b318a00bac3800 [54/100] iio:dac:ad5064: Add support for the ad5629r and ad5669r
All warnings:
WARNING: drivers/iio/dac/ad5064.o(.init.text+0x72): Section mismatch in reference from the function init_module() to the function .exit.text:ad5064_spi_unregister_driver()
The function __init init_module() references
a function __exit ad5064_spi_unregister_driver().
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
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <wfg at linux.intel.com> Intel Corporation
More information about the devel
mailing list