* linux-next: build failure after merge of the final tree (watchdog tree related)
@ 2012-05-23 6:55 Stephen Rothwell
2012-05-23 16:48 ` Wim Van Sebroeck
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2012-05-23 6:55 UTC (permalink / raw)
To: Wim Van Sebroeck; +Cc: linux-next, linux-kernel, Alan Cox, Hans de Goede
[-- Attachment #1: Type: text/plain, Size: 1438 bytes --]
Hi all,
After merging the final tree, today's linux-next build (powerpc allyesconfig)
failed like this:
drivers/watchdog/watchdog_core.c: In function 'watchdog_register_device':
drivers/watchdog/watchdog_core.c:109:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration]
drivers/watchdog/watchdog_core.c:112:3: error: implicit declaration of function 'PTR_ERR' [-Werror=implicit-function-declaration]
Caused by commit e3b97a7eb87d ("watchdog: create all the proper device
files").
I have applied this fixup patch for today:
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 23 May 2012 16:52:07 +1000
Subject: [PATCH] watchdog: usin IS_ERR needs linux/err.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/watchdog/watchdog_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c
index 534ed2a..1b42936 100644
--- a/drivers/watchdog/watchdog_core.c
+++ b/drivers/watchdog/watchdog_core.c
@@ -35,6 +35,7 @@
#include <linux/watchdog.h> /* For watchdog specific items */
#include <linux/init.h> /* For __init/__exit/... */
#include <linux/idr.h> /* For ida_* macros */
+#include <linux/err.h>
#include "watchdog_core.h" /* For watchdog_dev_register/... */
--
1.7.10.280.gaa39
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: linux-next: build failure after merge of the final tree (watchdog tree related)
2012-05-23 6:55 linux-next: build failure after merge of the final tree (watchdog tree related) Stephen Rothwell
@ 2012-05-23 16:48 ` Wim Van Sebroeck
0 siblings, 0 replies; 2+ messages in thread
From: Wim Van Sebroeck @ 2012-05-23 16:48 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, linux-kernel, Alan Cox, Hans de Goede
Hi Stephen,
> After merging the final tree, today's linux-next build (powerpc allyesconfig)
> failed like this:
>
> drivers/watchdog/watchdog_core.c: In function 'watchdog_register_device':
> drivers/watchdog/watchdog_core.c:109:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration]
> drivers/watchdog/watchdog_core.c:112:3: error: implicit declaration of function 'PTR_ERR' [-Werror=implicit-function-declaration]
>
> Caused by commit e3b97a7eb87d ("watchdog: create all the proper device
> files").
Fixed in the linux-watchdog-next tree now.
Thanks,
Wim.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-23 16:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-23 6:55 linux-next: build failure after merge of the final tree (watchdog tree related) Stephen Rothwell
2012-05-23 16:48 ` 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;
as well as URLs for NNTP newsgroup(s).