(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;
}
(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;
}
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;
printk("-------------------------------------------------------"
"----------------------------------\n");
- printk(PRINT_PREF "Page %d has %d bytes/%d bits failing verify,"
+ printk(PRINT_PREF "Page %zd has %d bytes/%d bits failing verify,"
" starting at offset 0x%x\n",
(mtd->erasesize - check_len + i) / pgsize,
bytes, bits, first);