NeilBrown: Compile with -Wextra by default

Martin F. Krafft madduck at alioth.debian.org
Sun Aug 29 11:55:51 UTC 2010


Module: mdadm
Branch: upstream
Commit: f21e18ca8969f21549c646096f354eac57cd53a8
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=f21e18ca8969f21549c646096f354eac57cd53a8

Author: NeilBrown <neilb at suse.de>
Date:   Thu Aug  5 13:13:02 2010 +1000

Compile with -Wextra by default

This produced lots of warning, some of which pointed to actual bugs.

Signed-off-by: NeilBrown <neilb at suse.de>

---

 Assemble.c       |   26 ++++++++--------
 Detail.c         |    2 +-
 Grow.c           |   39 +++++++++++++-----------
 Kill.c           |    2 +-
 Makefile         |    2 +-
 Manage.c         |   12 ++++----
 Monitor.c        |   14 ++++----
 bitmap.c         |    2 +-
 config.c         |    9 +++--
 mdadm.h          |    8 ++--
 mdmon.c          |    2 +-
 platform-intel.c |    2 +-
 probe_roms.c     |    6 ++--
 restripe.c       |    8 +++--
 super-ddf.c      |   88 +++++++++++++++++++++++++++---------------------------
 super-intel.c    |   32 ++++++++++----------
 super0.c         |   10 +++---
 super1.c         |   24 +++++++-------
 sysfs.c          |    6 ++--
 util.c           |   10 +++---
 20 files changed, 155 insertions(+), 149 deletions(-)

Diff:   http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commitdiff;h=f21e18ca8969f21549c646096f354eac57cd53a8



More information about the pkg-mdadm-commits mailing list