mtd: Fix size_t printf format specifier
use 0x%08zx for size_t instead of 0x%08x Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
a485953521
commit
10357953f3
|
@ -70,7 +70,7 @@ static ssize_t mtd_op_read(struct cdev *cdev, void* buf, size_t count,
|
|||
int ret;
|
||||
unsigned long offset = _offset;
|
||||
|
||||
dev_dbg(cdev->dev, "read ofs: 0x%08lx count: 0x%08x\n",
|
||||
dev_dbg(cdev->dev, "read ofs: 0x%08lx count: 0x%08zx\n",
|
||||
offset, count);
|
||||
|
||||
ret = mtd_read(mtd, offset, count, &retlen, buf);
|
||||
|
|
Loading…
Reference in New Issue