[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140926201704.1e2a62c3@canb.auug.org.au>
Date: Fri, 26 Sep 2014 20:17:04 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Guenter Roeck <linux@...ck-us.net>,
Oleg Nesterov <oleg@...hat.com>,
Josh Triplett <josh@...htriplett.org>
Subject: linux-next: build failure after merge of the akpm-current tree
Hi Andrew,
After merging the akpm-current tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
In file included from arch/powerpc/kernel/asm-offsets.c:16:0:
include/linux/signal.h: In function 'sigisemptyset':
include/linux/signal.h:79:3: error: implicit declaration of function 'BUILD_BUG' [-Werror=implicit-function-declaration]
BUILD_BUG();
^
Caused by commit 7e52cdba7e69 ("signal: use BUILD_BUG() instead of
_NSIG_WORDS_is_unsupported_size()").
See Rule 1 in Documentation/SubmitChecklist.
Thanks to Guenter for the heads up.
I have added the following patch for today (hopefully it does not cause
more problems).
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Fri, 26 Sep 2014 20:08:12 +1000
Subject: [PATCH] signal.h: using BUILD_BUG requires including bug.h
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
include/linux/signal.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/signal.h b/include/linux/signal.h
index 14acfd59ed1b..ab1e0392b5ac 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -2,6 +2,7 @@
#define _LINUX_SIGNAL_H
#include <linux/list.h>
+#include <linux/bug.h>
#include <uapi/linux/signal.h>
struct task_struct;
--
2.1.1
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists