From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758171AbYJIGrV (ORCPT ); Thu, 9 Oct 2008 02:47:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751406AbYJIGrM (ORCPT ); Thu, 9 Oct 2008 02:47:12 -0400 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:51046 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751457AbYJIGrL (ORCPT ); Thu, 9 Oct 2008 02:47:11 -0400 From: KOSAKI Motohiro To: Andrew Morton , NeilBrown Subject: Re: [mmotm 02/Oct] fix buid error of md raid Cc: kosaki.motohiro@jp.fujitsu.com, LKML , Andre Noll In-Reply-To: <20081004190956.CE44.KOSAKI.MOTOHIRO@jp.fujitsu.com> References: <20081004190725.CE3E.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20081004190956.CE44.KOSAKI.MOTOHIRO@jp.fujitsu.com> Message-Id: <20081009154507.DED6.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.42 [ja] Date: Thu, 9 Oct 2008 15:47:03 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > CC: NeilBrown > CC: Andre Noll > > --- > 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 > #include > +#include > > #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 > #include > #include > +#include > > #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 > #include > +#include > > /* > * 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@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/