devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Hauke Mehrtens <hauke@hauke-m.de>
Cc: zbr@ioremap.net, panto@antoniou-consulting.com,
	LKML <linux-kernel@vger.kernel.org>,
	devicetree-discuss@lists.ozlabs.org
Subject: Re: section mismatch in drivers/w1/masters/w1-gpio.c
Date: Sun, 27 Jan 2013 11:56:38 -0800	[thread overview]
Message-ID: <20130127195638.GA5005@kroah.com> (raw)
In-Reply-To: <510581A0.2080801@hauke-m.de>

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

      reply	other threads:[~2013-01-27 19:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-27 19:36 section mismatch in drivers/w1/masters/w1-gpio.c Hauke Mehrtens
2013-01-27 19:56 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130127195638.GA5005@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=hauke@hauke-m.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=panto@antoniou-consulting.com \
    --cc=zbr@ioremap.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).