Skip to content

Removed more warnings that now errors via -W

Steve Dickson linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xtab.c: Removed overflow in implicit constant conversion errorssupport/include/exportfs.h+1 -11 reply
2/4Removed ISO C does not support the '%m' gnu_printf format errorsutils/nfsstat/nfsstat.c utils/statd/statd.c+7 -60 replies
3/4Removed format expects argument of type errorsutils/idmapd/idmapd.c utils/nfsidmap/nfsidmap.c+3 -20 replies
4/4gssd.c: Remomved a couple of warning errorsutils/gssd/gssd.c+10 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Removed more warnings that now errors via -W

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(-)
Signature · 1 line
1.8.3.1