[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081009154507.DED6.KOSAKI.MOTOHIRO@jp.fujitsu.com>
Date: Thu, 9 Oct 2008 15:47:03 +0900 (JST)
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
NeilBrown <neilb@...e.de>
Cc: kosaki.motohiro@...fujitsu.com,
LKML <linux-kernel@...r.kernel.org>,
Andre Noll <maan@...temlinux.org>
Subject: Re: [mmotm 02/Oct] fix buid error of md raid
Hi Andrew, Neil
Ping!
> 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@...fujitsu.com>
> CC: NeilBrown <neilb@...e.de>
> CC: Andre Noll <maan@...temlinux.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.
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists