From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from f289.i.mail.ru ([217.69.138.189]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6etN-0001zT-Rc for barebox@lists.infradead.org; Tue, 06 Aug 2013 10:53:31 +0000 From: =?UTF-8?B?QWxleGFuZGVyIFNoaXlhbg==?= Mime-Version: 1.0 Date: Tue, 06 Aug 2013 14:53:04 +0400 Message-ID: <1375786384.974905160@f289.i.mail.ru> In-Reply-To: <20130806103133.GB26614@pengutronix.de> References: <20130806064229.GY26614@pengutronix.de> <1375783954.988213993@f361.mail.ru> <20130806103133.GB26614@pengutronix.de> Reply-To: =?UTF-8?B?QWxleGFuZGVyIFNoaXlhbg==?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: =?UTF-8?B?UmU6IHYyMDEzLjA4LjA=?= To: =?UTF-8?B?U2FzY2hhIEhhdWVy?= Cc: barebox@lists.infradead.org > On Tue, Aug 06, 2013 at 02:12:35PM +0400, Alexander Shiyan wrote: > > > Finally we have an August release! > > > > > > Here are the patches that went in between this and the last release: > > > > Here is a first result of compile: > > > > drivers/built-in.o: In function `ubi_volume_notify': > > :(.text.ubi_volume_notify+0x14): undefined reference to `ubi_do_get_device_info' > > :(.text.ubi_volume_notify+0x24): undefined reference to `ubi_do_get_volume_info' > > make: *** [barebox] Error 1 > > Fortunately this is in current master and not the release. The following > should fix this. It the patch adding ubi_volume_notify depended on > another patch which I have locally and I didn't notice that. The patch is works as expected. Thanks. > From 68c50d4cabaf2d8fa2fc6d450c36150c8f07998c Mon Sep 17 00:00:00 2001 > From: Sascha Hauer > Date: Tue, 6 Aug 2013 12:28:45 +0200 > Subject: [PATCH] mtd: ubi: remove calls to nonexisting functions > > We do not have ubi_do_get_volume_info and ubi_do_get_device_info > and do not need them yet, so remove calls to these functions to fix > compilation. > > Signed-off-by: Sascha Hauer > --- > drivers/mtd/ubi/build.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c > index c4bffae..202b046 100644 > --- a/drivers/mtd/ubi/build.c > +++ b/drivers/mtd/ubi/build.c > @@ -75,11 +75,6 @@ struct ubi_device *ubi_devices[UBI_MAX_DEVICES]; > */ > int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) > { > - struct ubi_notification nt; > - > - ubi_do_get_device_info(ubi, &nt.di); > - ubi_do_get_volume_info(ubi, vol, &nt.vi); > - > #ifdef CONFIG_MTD_UBI_FASTMAP > switch (ntype) { > case UBI_VOLUME_ADDED: > -- > 1.8.4.rc1 --- _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox