[PATCH rdma-core 0/8] More warning fixing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This batch is on top of the series from Christoph Hellwig, it turns on a few
more useful gcc warnings and fixes the fall out.

Whole batch is here now: https://github.com/linux-rdma/rdma-core/pull/19

Jason Gunthorpe (8):
  rdmacm: constify rdma_getaddrinfo public function
  Enable -Wwrite-strings
  verbs: Use cmake to detect if net/if.h vs netling/route/link.h is
    broken
  Enable -Wredundant-decls
  acm: Fix wrong format attributes for error
  acm: Fix format string usage with acm_log
  Enable -Wformat=2
  Enable -Wshadow

 CMakeLists.txt                      | 55 ++++++++++++++++++++++++++++++++
 buildlib/config.h.in                |  2 ++
 ibacm/include/infiniband/acm_prov.h |  7 +++--
 ibacm/prov/acmp/src/acmp.c          | 38 ++++++++++++-----------
 ibacm/src/acm.c                     | 25 ++++++++-------
 ibacm/src/acm_util.h                |  6 ++--
 ibacm/src/acme.c                    |  8 ++---
 ibacm/src/parse.c                   |  2 +-
 iwpmd/iwarp_pm.h                    |  2 +-
 iwpmd/iwarp_pm_common.c             |  7 +++--
 libibverbs/examples/srq_pingpong.c  |  1 -
 libibverbs/examples/xsrq_pingpong.c |  6 ++--
 libibverbs/neigh.c                  |  8 ++---
 libibverbs/sysfs.c                  | 13 ++++----
 libibverbs/verbs.h                  |  6 ++--
 librdmacm/acm.c                     |  3 +-
 librdmacm/addrinfo.c                | 14 +++++----
 librdmacm/cma.h                     |  3 +-
 librdmacm/examples/cmatose.c        |  2 +-
 librdmacm/examples/cmtime.c         |  4 +--
 librdmacm/examples/common.c         |  2 +-
 librdmacm/examples/common.h         |  2 +-
 librdmacm/examples/rcopy.c          |  2 +-
 librdmacm/examples/rdma_client.c    |  4 +--
 librdmacm/examples/rdma_server.c    |  2 +-
 librdmacm/examples/rdma_xclient.c   |  2 +-
 librdmacm/examples/rdma_xserver.c   |  2 +-
 librdmacm/examples/riostream.c      | 36 ++++++++++-----------
 librdmacm/examples/rping.c          |  2 +-
 librdmacm/examples/rstream.c        | 52 +++++++++++++++----------------
 librdmacm/examples/udaddy.c         |  2 +-
 librdmacm/examples/udpong.c         | 62 ++++++++++++++++++-------------------
 librdmacm/man/rdma_getaddrinfo.3    |  6 ++--
 librdmacm/preload.c                 |  2 --
 librdmacm/rdma_cma.h                |  4 +--
 providers/mlx4/mlx4.h               |  6 ----
 providers/mthca/cq.c                |  2 +-
 srp_daemon/srp_daemon.c             | 29 ++++++++++-------
 srp_daemon/srp_daemon.h             |  2 +-
 39 files changed, 247 insertions(+), 186 deletions(-)

-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux