Skip to contentSkip to conversation

WARNING: drivers/iio/dac/ad5064.o(.init.text+0x72): Section mismatch i

PATCH New [email protected] 1 participant 1 message Jul 7, 2012 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 54/100 WARNING: drivers/iio/dac/ad5064.o(.init.text+0x72): Section mismatch i

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 <[email protected]> Intel Corporation