summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-04-23 13:43:21 +0300
committerDavid Woodhouse <dwmw2@infradead.org>2008-04-23 11:32:10 +0100
commit697fa9721cbc54ce1604dae09d1be6bb918567f6 (patch)
tree86359dcb48ae4e08a259c46a675269ba84b90ba3
parent8a0f572397ca0673c65c1662946014bb73b5cdc6 (diff)
downloadop-kernel-dev-697fa9721cbc54ce1604dae09d1be6bb918567f6.zip
op-kernel-dev-697fa9721cbc54ce1604dae09d1be6bb918567f6.tar.gz
UBI: add a message
UBI scan takes quite a time on some systems, so it is nice to print a message that we started attaching an MTD device. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--drivers/mtd/ubi/build.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c
index e8578ca..961416a 100644
--- a/drivers/mtd/ubi/build.c
+++ b/drivers/mtd/ubi/build.c
@@ -763,8 +763,7 @@ int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset)
mutex_init(&ubi->volumes_mutex);
spin_lock_init(&ubi->volumes_lock);
- dbg_msg("attaching mtd%d to ubi%d: VID header offset %d",
- mtd->index, ubi_num, vid_hdr_offset);
+ ubi_msg("attaching mtd%d to ubi%d", mtd->index, ubi_num);
err = io_init(ubi);
if (err)
OpenPOWER on IntegriCloud