linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Dickson <steved@redhat.com>
To: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: [PATCH 0/4] Removed more warnings that now errors via -W
Date: Mon,  4 Jun 2018 10:50:47 -0400	[thread overview]
Message-ID: <20180604145051.146390-1-steved@redhat.com> (raw)

The patches remove more warnings that are errors via the -W flags. 
Basically allows RHEL7 to compile with following flags:

-Wformat=2 -Wmissing-include-dirs \
-Wunused -Wlogical-op \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Wmissing-noreturn -Wshadow \
-Wunreachable-code -Wdisabled-optimization \
-fstrict-aliasing -fstrict-overflow \
-fexceptions -fstack-protector \
-fasynchronous-unwind-tables -fpie" \

There are still warnings but there are no more fatel errors. 


Steve Dickson (4):
  xtab.c: Removed overflow in implicit constant conversion errors
  Removed ISO C does not support the '%m' gnu_printf format errors
  Removed format expects argument of type errors
  gssd.c: Remomved a couple of warning errors

 support/include/exportfs.h |  2 +-
 utils/gssd/gssd.c          | 20 ++++++++++----------
 utils/idmapd/idmapd.c      |  3 ++-
 utils/nfsidmap/nfsidmap.c  |  2 +-
 utils/nfsstat/nfsstat.c    |  6 +++---
 utils/statd/statd.c        |  7 ++++---
 6 files changed, 21 insertions(+), 19 deletions(-)

-- 
1.8.3.1


             reply	other threads:[~2018-06-04 14:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 14:50 Steve Dickson [this message]
2018-06-04 14:50 ` [PATCH 1/4] xtab.c: Removed overflow in implicit constant conversion errors Steve Dickson
2018-06-04 15:03   ` Chuck Lever
2018-06-04 14:50 ` [PATCH 2/4] Removed ISO C does not support the '%m' gnu_printf format errors Steve Dickson
2018-06-04 14:50 ` [PATCH 3/4] Removed format expects argument of type errors Steve Dickson
2018-06-04 14:50 ` [PATCH 4/4] gssd.c: Remomved a couple of warning errors Steve Dickson
2018-06-05 17:21 ` [PATCH 0/4] Removed more warnings that now errors via -W Steve Dickson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180604145051.146390-1-steved@redhat.com \
    --to=steved@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).