]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
UBI: add a message
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 23 Apr 2008 10:43:21 +0000 (13:43 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 23 Apr 2008 10:32:10 +0000 (11:32 +0100)
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>
drivers/mtd/ubi/build.c

index e8578ca422ff863b8d0ff50613713ab5fc01140e..961416ac06167350bf689c631a85b0ece7f067ec 100644 (file)
@@ -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)