dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] multipath: compile cleanup
@ 2012-05-25  4:57 Benjamin Marzinski
  2012-05-25  4:57 ` [PATCH 1/2] multipath: Build with standard rpm cflags Benjamin Marzinski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Benjamin Marzinski @ 2012-05-25  4:57 UTC (permalink / raw)
  To: device-mapper development; +Cc: Christophe Varoqui

When the multipath code is compiled with the standard redhat rpm cflags,
there are a number of warnings that get issued, some about real problems.

These patches switch multipath to use those cflags, and then clean up
warnings. If people want upstream to continue using the existing cflags,
I don't particularly mind.  I really included the first patch to make sure
people can see the warnings that the second patch corrects.

Also, some of the warnings are for actual errors, and how to fix them is
obvious.  Others won't actually cause problems, and if people object to
the changes I made to make them go away, I'm happy to fix them differently. 

Benjamin Marzinski (2):
  multipath: Build with standard rpm cflags
  multipath: Fix warnings from stricter compile options.

 Makefile.inc                     |    6 +++++-
 libmpathpersist/mpath_persist.c  |   10 +++++++---
 libmpathpersist/mpath_pr_ioctl.c |    9 +++++++++
 libmultipath/alias.c             |    8 ++++++--
 mpathpersist/main.c              |    2 --
 multipathd/main.c                |   24 +++++++++++++++++++-----
 6 files changed, 46 insertions(+), 13 deletions(-)

-- 
1.7.7

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-25  5:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-25  4:57 [PATCH 0/2] multipath: compile cleanup Benjamin Marzinski
2012-05-25  4:57 ` [PATCH 1/2] multipath: Build with standard rpm cflags Benjamin Marzinski
2012-05-25  4:57 ` [PATCH 2/2] multipath: Fix warnings from stricter compile options Benjamin Marzinski
2012-05-25  5:20 ` [PATCH 0/2] multipath: compile cleanup Christophe Varoqui

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).