[PATCH] tty: serial: msm: Fix section mismatch warning

Arnd Bergmann arnd at arndb.de
Wed Jun 18 06:01:42 PDT 2014


On Tuesday 17 June 2014 14:53:44 Kumar Gala wrote:
> 
> On Jun 3, 2014, at 4:17 PM, Olof Johansson <olof at lixom.net> wrote:
> 
> > On Tue, Jun 3, 2014 at 2:14 PM, Greg KH <gregkh at linuxfoundation.org> wrote:
> >> On Tue, Jun 03, 2014 at 02:04:43PM -0700, Olof Johansson wrote:
> >>> On Tue, Jun 3, 2014 at 1:33 PM, Greg KH <gregkh at linuxfoundation.org> wrote:
> >>>> On Tue, Jun 03, 2014 at 03:13:22PM -0500, Kumar Gala wrote:
> >>>>> WARNING: drivers/tty/built-in.o(.data+0x3544): Section mismatch in
> >>>>> reference from the variable msm_platform_driver to the function
> >>>>> .init.text:msm_serial_probe()
> >>>>> The variable msm_platform_driver references
> >>>>> the function __init msm_serial_probe()
> >>>>> If the reference is valid then annotate the
> >>>>> variable with __init* or __refdata (see linux/init.h) or name the variable:
> >>>>> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
> >>>> 
> >>>> Where is this mismatch showing up at?  3.15-rc8, 3.16-rc1?  Somewhere
> >>>> older or else?
> >>> 
> >>> Linus' next branch, it was merged through arm-soc. I didn't notice it
> >>> in time to fix it before we sent to Linus. :(
> >> 
> >> Ok, do you want to take this patch then?  I don't mind taking it through
> >> my tree, but it will have to wait until after 3.16-rc1 is out.  It's up
> >> to you.
> > 
> > I've got a handful of fixes we're queueing for the second batch of
> > merges, and I can add it to there.
> > 
> Reminder to queue this up for fixes for 3.16

I've applied it on top of the fixes branch now. I think I missed it when
I picked up the other fixes as I was only looking for patches sent to
arm at kernel.org.

Thanks for the reminder!

	Arnd



More information about the linux-arm-kernel mailing list