From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
NeilBrown <neilb@suse.de>, Andre Noll <maan@systemlinux.org>
Cc: kosaki.motohiro@jp.fujitsu.com
Subject: [mmotm 02/Oct] fix buid error of md raid
Date: Sat, 4 Oct 2008 19:11:18 +0900 (JST) [thread overview]
Message-ID: <20081004190956.CE44.KOSAKI.MOTOHIRO@jp.fujitsu.com> (raw)
In-Reply-To: <20081004190725.CE3E.KOSAKI.MOTOHIRO@jp.fujitsu.com>
Patch against: mmotm 02 Oct
Applied after: git-md.patch
fix following build error
--------------------
CC drivers/md/raid1.o
drivers/md/raid1.c: In function 'sync_request':
drivers/md/raid1.c:1759: error: implicit declaration of function 'msleep_interruptible'
make[2]: *** [drivers/md/raid1.o] Error 1
make[1]: *** [drivers/md] Error 2
make: *** [drivers] Error 2
CC drivers/md/raid10.o
drivers/md/raid10.c: In function 'sync_request':
drivers/md/raid10.c:1749: error: implicit declaration of function 'msleep_interruptible'
make[2]: *** [drivers/md/raid10.o] Error 1
CC drivers/md/md.o
drivers/md/md.c: In function 'md_do_sync':
drivers/md/md.c:5914: error: implicit declaration of function 'msleep'
drivers/md/md.c: In function 'md_notify_reboot':
drivers/md/md.c:6265: error: implicit declaration of function 'mdelay'
make[2]: *** [drivers/md/md.o] Error 1
make[1]: *** [drivers/md] Error 2
make: *** [drivers] Error 2
----------------------
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
CC: NeilBrown <neilb@suse.de>
CC: Andre Noll <maan@systemlinux.org>
---
drivers/md/md.c | 1 +
drivers/md/raid1.c | 1 +
drivers/md/raid10.c | 1 +
3 files changed, 3 insertions(+)
Index: b/drivers/md/raid1.c
===================================================================
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -34,6 +34,7 @@
#include "dm-bio-list.h"
#include <linux/raid/raid1.h>
#include <linux/raid/bitmap.h>
+#include <linux/delay.h>
#define DEBUG 0
#if DEBUG
Index: b/drivers/md/md.c
===================================================================
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -44,6 +44,7 @@
#include <linux/random.h>
#include <linux/reboot.h>
#include <linux/file.h>
+#include <linux/delay.h>
#define MAJOR_NR MD_MAJOR
Index: b/drivers/md/raid10.c
===================================================================
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -21,6 +21,7 @@
#include "dm-bio-list.h"
#include <linux/raid/raid10.h>
#include <linux/raid/bitmap.h>
+#include <linux/delay.h>
/*
* RAID10 provides a combination of RAID0 and RAID1 functionality.
next prev parent reply other threads:[~2008-10-04 10:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-04 10:09 [mmotm 02/Oct] fix buid error of autodetect_raid() KOSAKI Motohiro
2008-10-04 10:10 ` [mmotm 02/Oct] fix buid error of hid-core KOSAKI Motohiro
2008-10-09 6:45 ` KOSAKI Motohiro
2008-10-09 7:02 ` Andrew Morton
2008-10-09 7:15 ` KOSAKI Motohiro
2008-10-04 10:11 ` KOSAKI Motohiro [this message]
2008-10-09 6:47 ` [mmotm 02/Oct] fix buid error of md raid KOSAKI Motohiro
2008-10-04 12:10 ` [mmotm 02/Oct] fix buid error of autodetect_raid() Ingo Molnar
2008-10-04 12:18 ` KOSAKI Motohiro
2008-10-04 12:27 ` Ingo Molnar
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=20081004190956.CE44.KOSAKI.MOTOHIRO@jp.fujitsu.com \
--to=kosaki.motohiro@jp.fujitsu.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maan@systemlinux.org \
--cc=neilb@suse.de \
/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
all inboxes | Powered by JetHome®