Hello, I had sent it to LKML and CC to Dan. https://lkml.org/lkml/2010/11/30/35 Sincerely, Major Lee
-----Original Message----- From: Koul, Vinod [mailto:[email protected]] Sent: Tuesday, November 30, 2010 3:58 PM To: Major Lee/WHQ/Wistron; [email protected] Subject: RE: [PATCH] intel_mid_dma: Fix section mismatch warnings > -----Original Message----- > From: [email protected] [mailto:meego-kernel- > [email protected]] On Behalf Of [email protected] > Sent: Tuesday, November 30, 2010 1:05 PM > To: [email protected] > Subject: [Meego-kernel] [PATCH] intel_mid_dma: Fix section mismatch > warnings > > Fix the following section mismatch warnings. > > WARNING: drivers/built-in.o(.data+0xfa10): Section mismatch in > reference from the variable intel_mid_dma_pci to the function > .devinit.text:intel_mid_dma_probe() > The variable intel_mid_dma_pci references the function __devinit > intel_mid_dma_probe() If the reference is valid then annotate the > variable with __init* or __refdata (see linux/init.h) or name the > variable: > *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, > *_console, > > WARNING: drivers/built-in.o(.data+0xfa14): Section mismatch in > reference from the variable intel_mid_dma_pci to the function > .devexit.text:intel_mid_dma_remove() > The variable intel_mid_dma_pci references the function __devexit > intel_mid_dma_remove() If the reference is valid then annotate the > variable with __exit* (see linux/init.h) or name the variable: > *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, > *_console, > > WARNING: vmlinux.o(.data+0x18490): Section mismatch in reference from > the variable intel_mid_dma_pci to the function > .devinit.text:intel_mid_dma_probe() > The variable intel_mid_dma_pci references the function __devinit > intel_mid_dma_probe() If the reference is valid then annotate the > variable with __init* or __refdata (see linux/init.h) or name the > variable: > *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, > *_console, > > WARNING: vmlinux.o(.data+0x18494): Section mismatch in reference from > the variable intel_mid_dma_pci to the function > .devexit.text:intel_mid_dma_remove() > The variable intel_mid_dma_pci references the function __devexit > intel_mid_dma_remove() If the reference is valid then annotate the > variable with __exit* (see linux/init.h) or name the variable: > *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, > *_console, > > Signed-off-by: Major Lee <[email protected]> > --- > intel_mid_dma.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Can you send this to lkml, cc Dan ~Vinod _______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
