From: David Rientjes <rientjes@google.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: liguang <lig.fnst@cn.fujitsu.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [patch] mm: break circular include from linux/mmzone.h fix fix fix fix
Date: Wed, 6 Feb 2013 10:15:07 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.2.02.1302061013160.26828@chino.kir.corp.google.com> (raw)
In-Reply-To: <1360037707-13935-1-git-send-email-lig.fnst@cn.fujitsu.com>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1338 bytes --]
kernel/jump_label.c: In function a??jump_label_module_notifya??:
kernel/jump_label.c:393:2: error: implicit declaration of function a??notifier_from_errnoa?? [-Werror=implicit-function-declaration]
kernel/jump_label.c: At top level:
kernel/jump_label.c:396:8: error: variable a??jump_label_module_nba?? has initializer but incomplete type
kernel/jump_label.c:397:2: error: unknown field a??notifier_calla?? specified in initializer
kernel/jump_label.c:397:2: warning: excess elements in struct initializer [enabled by default]
kernel/jump_label.c:397:2: warning: (near initialization for a??jump_label_module_nba??) [enabled by default]
kernel/jump_label.c:398:2: error: unknown field a??prioritya?? specified in initializer
kernel/jump_label.c:398:2: warning: excess elements in struct initializer [enabled by default]
kernel/jump_label.c:398:2: warning: (near initialization for a??jump_label_module_nba??) [enabled by default]
Signed-off-by: David Rientjes <rientjes@google.com>
---
kernel/jump_label.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/jump_label.c b/kernel/jump_label.c
index 60f48fa..012219d 100644
--- a/kernel/jump_label.c
+++ b/kernel/jump_label.c
@@ -13,6 +13,7 @@
#include <linux/sort.h>
#include <linux/err.h>
#include <linux/static_key.h>
+#include <linux/notifier.h>
#ifdef HAVE_JUMP_LABEL
prev parent reply other threads:[~2013-02-06 18:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-05 4:15 [PATCH] mm: break circular include from linux/mmzone.h liguang
2013-02-05 5:20 ` David Rientjes
2013-02-05 5:56 ` li guang
2013-02-05 21:18 ` Andrew Morton
2013-02-06 18:15 ` David Rientjes [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=alpine.DEB.2.02.1302061013160.26828@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=akpm@linux-foundation.org \
--cc=lig.fnst@cn.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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