public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL REQUEST] watchdog - v3.9-rc6 Fixes
@ 2013-04-14  7:17 Wim Van Sebroeck
  2013-04-14 12:20 ` Guenter Roeck
  0 siblings, 1 reply; 3+ messages in thread
From: Wim Van Sebroeck @ 2013-04-14  7:17 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Andrew Morton, LKML, Linux Watchdog Mailing List, Nicolas Ferre

Hi Linus,

Please pull from 'master' branch of
	git://www.linux-watchdog.org/linux-watchdog.git

It will fix compile errors for teh at91rm9200_wdt driver.

This will update the following files:

 Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

with these Changes:

commit 09549cd01726a7ff8b102a93e46b059531583ab6
Author: Nicolas Ferre <nicolas.ferre@atmel.com>
Date:   Wed Apr 10 14:36:22 2013 +0200

    watchdog: Revert the AT91RM9200_WATCHDOG dependency
    
    Compiling the at91rm9200_wdt.c driver without at91rm9200
    support was leading to several errors:
    
    drivers/built-in.o: In function `at91_wdt_close':
    at91_adc.c:(.text+0xc9fe4): undefined reference to `at91_st_base'
    drivers/built-in.o: In function `at91_wdt_write':
    at91_adc.c:(.text+0xca004): undefined reference to `at91_st_base'
    drivers/built-in.o: In function `at91wdt_shutdown':
    at91_adc.c:(.text+0xca01c): undefined reference to `at91_st_base'
    drivers/built-in.o: In function `at91wdt_suspend':
    at91_adc.c:(.text+0xca038): undefined reference to `at91_st_base'
    drivers/built-in.o: In function `at91_wdt_open':
    at91_adc.c:(.text+0xca0cc): undefined reference to `at91_st_base'
    drivers/built-in.o:at91_adc.c:(.text+0xca2c8): more undefined references to
    `at91_st_base' follow
    
    So, reverting the modification of the "depends" Kconfig line
    introduced by patch a6a1bcd37 (watchdog: at91rm9200: add DT support)
    seems to be the good solution.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Acked-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

For completeness, I added the overal diff below.

Greetings,
Wim.

================================================================================
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 9fcc70c..e89fc31 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -117,7 +117,7 @@ config ARM_SP805_WATCHDOG
 
 config AT91RM9200_WATCHDOG
 	tristate "AT91RM9200 watchdog"
-	depends on ARCH_AT91
+	depends on ARCH_AT91RM9200
 	help
 	  Watchdog timer embedded into AT91RM9200 chips. This will reboot your
 	  system when the timeout is reached.

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

* Re: [GIT PULL REQUEST] watchdog - v3.9-rc6 Fixes
  2013-04-14  7:17 [GIT PULL REQUEST] watchdog - v3.9-rc6 Fixes Wim Van Sebroeck
@ 2013-04-14 12:20 ` Guenter Roeck
  2013-04-15 18:40   ` Wim Van Sebroeck
  0 siblings, 1 reply; 3+ messages in thread
From: Guenter Roeck @ 2013-04-14 12:20 UTC (permalink / raw)
  To: Wim Van Sebroeck; +Cc: LKML, Linux Watchdog Mailing List

On Sun, Apr 14, 2013 at 09:17:03AM +0200, Wim Van Sebroeck wrote:
> Hi Linus,
> 
> Please pull from 'master' branch of
> 	git://www.linux-watchdog.org/linux-watchdog.git
> 
> It will fix compile errors for teh at91rm9200_wdt driver.
> 
> This will update the following files:
> 
>  Kconfig |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
> 
> with these Changes:
> 
> commit 09549cd01726a7ff8b102a93e46b059531583ab6
> Author: Nicolas Ferre <nicolas.ferre@atmel.com>
> Date:   Wed Apr 10 14:36:22 2013 +0200
> 
Hi Wim,

What is your take on "watchdog: Fix race condition in registration code" [1] ?

Thanks,
Guenter

[1] http://www.spinics.net/lists/linux-watchdog/msg02291.html,
    https://patchwork.kernel.org/patch/2400801/

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

* Re: [GIT PULL REQUEST] watchdog - v3.9-rc6 Fixes
  2013-04-14 12:20 ` Guenter Roeck
@ 2013-04-15 18:40   ` Wim Van Sebroeck
  0 siblings, 0 replies; 3+ messages in thread
From: Wim Van Sebroeck @ 2013-04-15 18:40 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: LKML, Linux Watchdog Mailing List

Hi Guenter,

> > Please pull from 'master' branch of
> > 	git://www.linux-watchdog.org/linux-watchdog.git
> > 
> > It will fix compile errors for teh at91rm9200_wdt driver.
> > 
> > This will update the following files:
> > 
> >  Kconfig |    2 +-
> >  1 files changed, 1 insertion(+), 1 deletion(-)
> > 
> > with these Changes:
> > 
> > commit 09549cd01726a7ff8b102a93e46b059531583ab6
> > Author: Nicolas Ferre <nicolas.ferre@atmel.com>
> > Date:   Wed Apr 10 14:36:22 2013 +0200
> > 
> Hi Wim,
> 
> What is your take on "watchdog: Fix race condition in registration code" [1] ?
> 
> Thanks,
> Guenter
> 
> [1] http://www.spinics.net/lists/linux-watchdog/msg02291.html,
>     https://patchwork.kernel.org/patch/2400801/

Patch is the correct fix. I'll apply it later on.

Kind regards,
Wim.


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

end of thread, other threads:[~2013-04-15 18:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-14  7:17 [GIT PULL REQUEST] watchdog - v3.9-rc6 Fixes Wim Van Sebroeck
2013-04-14 12:20 ` Guenter Roeck
2013-04-15 18:40   ` Wim Van Sebroeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox