Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Florian Fainelli <florian@openwrt.org>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: Manuel Lauss <manuel.lauss@googlemail.com>, linux-mips@linux-mips.org
Subject: Re: Section mismatches in mtx1_defconfig
Date: Tue, 21 Jun 2011 17:05:32 +0200	[thread overview]
Message-ID: <201106211705.32449.florian@openwrt.org> (raw)
In-Reply-To: <20110621145942.GA14197@linux-mips.org>

Hello Ralf,

On Tuesday 21 June 2011 16:59:42 Ralf Baechle wrote:
> WARNING: drivers/watchdog/built-in.o(.data+0x24): Section mismatch in
> reference from the variable mtx1_wdt to the function
> .devinit.text:mtx1_wdt_probe() The variable mtx1_wdt references
> the function __devinit mtx1_wdt_probe()
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
> 
> WARNING: drivers/watchdog/built-in.o(.data+0x28): Section mismatch in
> reference from the variable mtx1_wdt to the function
> .devexit.text:mtx1_wdt_remove() The variable mtx1_wdt references
> the function __devexit mtx1_wdt_remove()
> If the reference is valid then annotate the
> variable with __exit* (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
> 
> WARNING: drivers/built-in.o(.data+0x4ec4): Section mismatch in reference
> from the variable mtx1_wdt to the function .devinit.text:mtx1_wdt_probe()
> The variable mtx1_wdt references
> the function __devinit mtx1_wdt_probe()
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
> 
> WARNING: drivers/built-in.o(.data+0x4ec8): Section mismatch in reference
> from the variable mtx1_wdt to the function .devexit.text:mtx1_wdt_remove()
> The variable mtx1_wdt references
> the function __devexit mtx1_wdt_remove()
> If the reference is valid then annotate the
> variable with __exit* (see linux/init.h) or name the variable:
> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

Fixed with [PATCH 4/5 v3] WATCHDOG: mtx1-wdt: fix section mismatch
--
Florian

      reply	other threads:[~2011-06-21 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-21 14:59 Section mismatches in mtx1_defconfig Ralf Baechle
2011-06-21 15:05 ` Florian Fainelli [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=201106211705.32449.florian@openwrt.org \
    --to=florian@openwrt.org \
    --cc=linux-mips@linux-mips.org \
    --cc=manuel.lauss@googlemail.com \
    --cc=ralf@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox