From: "Alexander Shiyan" <shc_work@mail.ru>
To: "Sascha Hauer" <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: v2013.08.0
Date: Tue, 06 Aug 2013 14:53:04 +0400 [thread overview]
Message-ID: <1375786384.974905160@f289.i.mail.ru> (raw)
In-Reply-To: <20130806103133.GB26614@pengutronix.de>
> 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 <s.hauer@pengutronix.de>
> 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 <s.hauer@pengutronix.de>
> ---
> 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
next prev parent reply other threads:[~2013-08-06 10:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-06 6:42 v2013.08.0 Sascha Hauer
2013-08-06 10:12 ` v2013.08.0 Alexander Shiyan
2013-08-06 10:31 ` v2013.08.0 Sascha Hauer
2013-08-06 10:53 ` Alexander Shiyan [this message]
2013-08-08 6:23 ` v2013.08.0 Alexander Shiyan
2013-08-08 6:26 ` v2013.08.0 Sascha Hauer
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=1375786384.974905160@f289.i.mail.ru \
--to=shc_work@mail.ru \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.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