aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/tests/mtd_subpagetest.c
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2009-01-05 16:31:03 +0000
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-01-05 16:31:03 +0000
commit647b0d3854d776485faea9de7e7ed7fd4bdc6f20 (patch)
tree9a527f270afdf6157699d8c360b63a53c0419146 /drivers/mtd/tests/mtd_subpagetest.c
parent572acc41274522b865440d0644d5f986e3c83755 (diff)
[MTD] [TESTS] Fix some size_t printk format warnings
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/tests/mtd_subpagetest.c')
-rw-r--r--drivers/mtd/tests/mtd_subpagetest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/tests/mtd_subpagetest.c b/drivers/mtd/tests/mtd_subpagetest.c
index 4c5e04d0b32..5b889724268 100644
--- a/drivers/mtd/tests/mtd_subpagetest.c
+++ b/drivers/mtd/tests/mtd_subpagetest.c
@@ -125,7 +125,7 @@ static int write_eraseblock(int ebnum)
(long long)addr);
if (written != subpgsize) {
printk(PRINT_PREF " write size: %#x\n", subpgsize);
- printk(PRINT_PREF " written: %#x\n", written);
+ printk(PRINT_PREF " written: %#zx\n", written);
}
return err ? err : -1;
}
@@ -139,7 +139,7 @@ static int write_eraseblock(int ebnum)
(long long)addr);
if (written != subpgsize) {
printk(PRINT_PREF " write size: %#x\n", subpgsize);
- printk(PRINT_PREF " written: %#x\n", written);
+ printk(PRINT_PREF " written: %#zx\n", written);
}
return err ? err : -1;
}
@@ -164,7 +164,7 @@ static int write_eraseblock2(int ebnum)
if (written != subpgsize) {
printk(PRINT_PREF " write size: %#x\n",
subpgsize * k);
- printk(PRINT_PREF " written: %#08x\n",
+ printk(PRINT_PREF " written: %#08zx\n",
written);
}
return err ? err : -1;