UBI: add a message

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Apr 23 06:59:01 EDT 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=697fa9721cbc54ce1604dae09d1be6bb918567f6
Commit:     697fa9721cbc54ce1604dae09d1be6bb918567f6
Parent:     8a0f572397ca0673c65c1662946014bb73b5cdc6
Author:     Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
AuthorDate: Wed Apr 23 13:43:21 2008 +0300
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Wed Apr 23 11:32:10 2008 +0100

    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 at nokia.com>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/ubi/build.c |    3 +--
 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)



More information about the linux-mtd-cvs mailing list