mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: barebox@lists.infradead.org
Subject: Re: v2013.08.0
Date: Tue, 6 Aug 2013 12:31:33 +0200	[thread overview]
Message-ID: <20130806103133.GB26614@pengutronix.de> (raw)
In-Reply-To: <1375783954.988213993@f361.mail.ru>

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.

Sascha

8<----------------------------------------------------------------

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

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2013-08-06 10:31 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   ` Sascha Hauer [this message]
2013-08-06 10:53     ` v2013.08.0 Alexander Shiyan
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=20130806103133.GB26614@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=shc_work@mail.ru \
    /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