UBI: Extend UBI layer debug/messaging capabilities
authorTanya Brokhman <tlinder@codeaurora.org>
Mon, 20 Oct 2014 16:57:00 +0000 (19:57 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 7 Nov 2014 10:08:51 +0000 (12:08 +0200)
commit326087033108e7806e24974f2c8271f95cddaf3a
tree3da326fd5be824e035f2ffcbddb896892e070039
parent789c89935cef776ab5e8b8c5120d9c29a88ab40e
UBI: Extend UBI layer debug/messaging capabilities

If there is more then one UBI device mounted, there is no way to
distinguish between messages from different UBI devices.
Add device number to all ubi layer message types.

The R/O block driver messages were replaced by pr_* since
ubi_device structure is not used by it.

Amended a bit by Artem.

Signed-off-by: Tanya Brokhman <tlinder@codeaurora.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
14 files changed:
drivers/mtd/ubi/attach.c
drivers/mtd/ubi/block.c
drivers/mtd/ubi/build.c
drivers/mtd/ubi/cdev.c
drivers/mtd/ubi/debug.c
drivers/mtd/ubi/eba.c
drivers/mtd/ubi/fastmap.c
drivers/mtd/ubi/io.c
drivers/mtd/ubi/kapi.c
drivers/mtd/ubi/misc.c
drivers/mtd/ubi/ubi.h
drivers/mtd/ubi/vmt.c
drivers/mtd/ubi/vtbl.c
drivers/mtd/ubi/wl.c