[MTD-UTILS 0/3] fix off_t use in lseek
Richard Genoud
richard.genoud at gmail.com
Wed Sep 12 10:38:32 EDT 2012
In lseek call, sometimes off_t is used, sometime u_int32_t or
off64_t (with lseek64).
This patchset corrects those inconsistencies in respect with the
WITHOUT_LARGEFILE compilation option.
Richard Genoud (3):
introduce PRIxoff_t and PRIdoff_t printf helpers
consistency between u_int32_t / off_t / off64_t
mkfs.jffs2: correct some warnings using PRIdoff_t
flash_erase.c | 16 +++++++-------
flash_otp_write.c | 5 ++-
ftl_check.c | 6 +++-
ftl_format.c | 2 +-
include/common.h | 11 ++++++++++
lib/libmtd.c | 12 +++++-----
mkfs.jffs2.c | 10 ++++----
mkfs.ubifs/mkfs.ubifs.c | 11 ++++-----
mtd_debug.c | 14 ++++++------
tests/fs-tests/integrity/integck.c | 4 +-
tests/ubi-tests/integ.c | 38 ++++++++++++++++++------------------
11 files changed, 71 insertions(+), 58 deletions(-)
--
1.7.2.5
More information about the linux-mtd
mailing list