All of lore.kernel.org
 help / color / mirror / Atom feed
* Section mismatches in mtx1_defconfig
@ 2011-06-21 14:59 Ralf Baechle
  2011-06-21 15:05 ` Florian Fainelli
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf Baechle @ 2011-06-21 14:59 UTC (permalink / raw)
  To: Manuel Lauss; +Cc: linux-mips

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Section mismatches in mtx1_defconfig
  2011-06-21 14:59 Section mismatches in mtx1_defconfig Ralf Baechle
@ 2011-06-21 15:05 ` Florian Fainelli
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2011-06-21 15:05 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Manuel Lauss, linux-mips

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-21 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 14:59 Section mismatches in mtx1_defconfig Ralf Baechle
2011-06-21 15:05 ` Florian Fainelli

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.