Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1269840 > unrolled thread
| Started by | Vinod Koul <vinod.koul@intel.com> |
|---|---|
| First post | 2015-11-16 04:50 +0100 |
| Last post | 2015-11-16 04:50 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 1/1] dmaengine: imx-sdma: remove __init annotation on sdma_event_remap Vinod Koul <vinod.koul@intel.com> - 2015-11-16 04:50 +0100
| From | Vinod Koul <vinod.koul@intel.com> |
|---|---|
| Date | 2015-11-16 04:50 +0100 |
| Subject | Re: [PATCH 1/1] dmaengine: imx-sdma: remove __init annotation on sdma_event_remap |
| Message-ID | <qviXL-242-5@gated-at.bofh.it> |
On Wed, Nov 11, 2015 at 05:20:49PM +0800, Jason Liu wrote: > The sdma_probe function will call sdma_event_remap, but sdma_event_remap > marked with the __init annotation which make the kbuild complains as the > following log: > > WARNING: drivers/dma/built-in.o(.text+0x56fc): Section mismatch in reference > from the function sdma_probe() to the function .init.text:sdma_event_remap() > The function sdma_probe() references > the function __init sdma_event_remap(). > This is often because sdma_probe lacks a __init > annotation or the annotation of sdma_event_remap is wrong. > > Remove the __init annotation on sdma_event_remap to kill this build warning Applied, thanks -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web