[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130127195638.GA5005@kroah.com>
Date: Sun, 27 Jan 2013 11:56:38 -0800
From: Greg KH <gregkh@...uxfoundation.org>
To: Hauke Mehrtens <hauke@...ke-m.de>
Cc: zbr@...emap.net, panto@...oniou-consulting.com,
LKML <linux-kernel@...r.kernel.org>,
devicetree-discuss@...ts.ozlabs.org
Subject: Re: section mismatch in drivers/w1/masters/w1-gpio.c
On Sun, Jan 27, 2013 at 08:36:00PM +0100, Hauke Mehrtens wrote:
> Hi,
>
> when building 3.8-rc5 I get the following section mismatch:
>
> WARNING: drivers/w1/masters/w1-gpio.o(.data+0x188): Section mismatch in
> reference from the variable w1_gpio_driver to the function
> .init.text:w1_gpio_probe()
> The variable w1_gpio_driver references
> the function __init w1_gpio_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
>
>
> The __init in front of w1_gpio_probe() should be removed.
Great, care to send a patch doing just that so I can apply it?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists