[PATCH 0/2] mtd-utils: Fix almost all compiler warnings

Boris Brezillon boris.brezillon at free-electrons.com
Fri Nov 25 09:30:39 PST 2016


Hello,

These 2 patches fix all the warnings except the #warning in 
misc-utils/flashcp.c.

The first patch make sure the PRIoff formats are correct on all
64 bits platforms, and the second one fixes all 'unchecked return
val' warnings.

This series is based on mtd-utils' master branch.

Regards,

Boris

Boris Brezillon (2):
  common: Fix PRI{x,d}off definitions for x86_64 platform
  common: Fix 'unchecked return code' warnings

 .gitignore                |  3 +++
 configure.ac              |  5 +++++
 include/common.h          | 37 ++++++++++++++++++++++++++++++++++++-
 jffsX-utils/jffs2dump.c   | 32 ++++++++++++++++----------------
 jffsX-utils/jffs2reader.c |  2 +-
 misc-utils/docfdisk.c     |  6 +++++-
 misc-utils/ftl_check.c    |  2 +-
 nand-utils/nftl_format.c  | 24 ++++++++++++------------
 nand-utils/nftldump.c     | 10 ++++++----
 tests/ubi-tests/integ.c   | 10 ++++++++--
 10 files changed, 93 insertions(+), 38 deletions(-)

-- 
2.7.4




More information about the linux-mtd mailing list