summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-08-17 15:58:01 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-08-19 10:55:40 +0200
commit23df6e9e825f78e4d5af2b2e48a603fc48df6a85 (patch)
tree4929258721e2994dc6ef54657b3f9e8f4e361374
parent3f96c61781830f2a662006715f196164e62c2ca0 (diff)
downloadbarebox-23df6e9e825f78e4d5af2b2e48a603fc48df6a85.tar.gz
barebox-23df6e9e825f78e4d5af2b2e48a603fc48df6a85.tar.xz
ubi: ubi_volume_cdev_read: use pr_debug for debug info
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/mtd/ubi/cdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c
index 4bc4a99019..9d75d0c17f 100644
--- a/drivers/mtd/ubi/cdev.c
+++ b/drivers/mtd/ubi/cdev.c
@@ -23,7 +23,7 @@ static ssize_t ubi_volume_cdev_read(struct cdev *cdev, void *buf, size_t size,
loff_t offp = offset;
int usable_leb_size = vol->usable_leb_size;
- printf("%s: %zd @ 0x%08llx\n", __func__, size, offset);
+ pr_debug("%s: %zd @ 0x%08llx\n", __func__, size, offset);
len = size > usable_leb_size ? usable_leb_size : size;