summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/core.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-02-08 14:18:32 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-09 09:28:55 +0100
commit1e009bf2667c7f304ea181974e3e22cb7b6a025b (patch)
tree7cf5adcf203eec5d23918ccb445996418dff63a9 /drivers/mtd/core.c
parentd5128bfaf458081d2d4a0cf736d3cc21967e4f2a (diff)
downloadbarebox-1e009bf2667c7f304ea181974e3e22cb7b6a025b.tar.gz
barebox-1e009bf2667c7f304ea181974e3e22cb7b6a025b.tar.xz
mtd: Make erase_info structs 64bit where necessary
Make the userspace structs 64bit where necessary. Since we do not have separated kernel/userspace in barebox we can just modifiy the original structs instead of adding separate 64bit structs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/core.c')
-rw-r--r--drivers/mtd/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/core.c b/drivers/mtd/core.c
index 62307db709..586b4a0ae3 100644
--- a/drivers/mtd/core.c
+++ b/drivers/mtd/core.c
@@ -169,7 +169,7 @@ static int mtd_op_erase(struct cdev *cdev, size_t count, loff_t offset)
erase.len = mtd->erasesize;
while (count > 0) {
- dev_dbg(cdev->dev, "erase %d %d\n", addr, erase.len);
+ dev_dbg(cdev->dev, "erase 0x%08llx len: 0x%08llx\n", addr, erase.len);
if (mtd->allow_erasebad || (mtd->master && mtd->master->allow_erasebad))
ret = 0;