lkml.org 
[lkml]   [2010]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 6/6] virtio: fix section mismatch warnings
On Wed, 13 Jan 2010 21:27:26 +1030
Rusty Russell <rusty@rustcorp.com.au> wrote:

> On Wed, 13 Jan 2010 11:19:01 am Jeff Mahoney wrote:
> > This patch fixes the following warnings by renaming the driver structures
> > to be suffixed with _driver.
> >
> > WARNING: drivers/virtio/virtio_balloon.o(.data+0x88): Section mismatch in reference from the variable virtio_balloon to the function .devexit.text:virtballoon_remove()
> >
> > WARNING: drivers/char/hw_random/virtio-rng.o(.data+0x88): Section mismatch in reference from the variable virtio_rng to the function .devexit.text:virtrng_remove()
> >
> > Signed-off-by: Jeff Mahoney <jeffm@suse.com>
>
> Acked-by: Rusty Russell <rusty@rustcorp.com.au>
>
> Andrew, will you take these?
>

umm, sure. But I wish I knew how the patch worked. Is there some
magic sauce which moves a variable called foo_driver into a different
section or what?

And if so, what was I doing when that got done :(


\
 
 \ /
  Last update: 2010-01-14 02:11    [W:0.080 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site