All of lore.kernel.org
 help / color / mirror / Atom feed
From: maramaopercheseimorto@gmail.com (Alberto Panizzo)
To: linux-arm-kernel@lists.infradead.org
Subject: [WARNING] mxc_w1_probe should not be __init modified
Date: Fri, 12 Feb 2010 11:42:28 +0100	[thread overview]
Message-ID: <1265971348.2484.63.camel@realization> (raw)

Today linux-next build, report this:

WARNING: drivers/w1/masters/built-in.o(.data+0x0): Section mismatch in reference from the variable mxc_w1_driver to the function .init.text:mxc_w1_probe()
The variable mxc_w1_driver references
the function __init mxc_w1_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, 


I don't know if should be modified with __devinit instead or nothing at all.

Best regards.

-- 
Alberto!

WARNING: multiple messages have this Message-ID (diff)
From: Alberto Panizzo <maramaopercheseimorto@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>
Subject: [WARNING] mxc_w1_probe should not be __init modified
Date: Fri, 12 Feb 2010 11:42:28 +0100	[thread overview]
Message-ID: <1265971348.2484.63.camel@realization> (raw)

Today linux-next build, report this:

WARNING: drivers/w1/masters/built-in.o(.data+0x0): Section mismatch in reference from the variable mxc_w1_driver to the function .init.text:mxc_w1_probe()
The variable mxc_w1_driver references
the function __init mxc_w1_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, 


I don't know if should be modified with __devinit instead or nothing at all.

Best regards.

-- 
Alberto!



             reply	other threads:[~2010-02-12 10:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-12 10:42 Alberto Panizzo [this message]
2010-02-12 10:42 ` [WARNING] mxc_w1_probe should not be __init modified Alberto Panizzo
2010-02-12 11:01 ` Uwe Kleine-König
2010-02-12 11:01   ` Uwe Kleine-König

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=1265971348.2484.63.camel@realization \
    --to=maramaopercheseimorto@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.