[Top][All Lists]

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

[Qemu-stable] [Qemu-devel] [PATCH 0/3] contrib/rdmacm-mux: fix clang com

From: Marcel Apfelbaum
Subject: [Qemu-stable] [Qemu-devel] [PATCH 0/3] contrib/rdmacm-mux: fix clang compilation
Date: Sat, 12 Jan 2019 17:02:22 +0200

Fix Commit a5d2f6f877 (contrib/rdmacm-mux: Add implementation
                       of RDMA User MAD multiplexer).

The above commit introduces a new contrib target, adding a global dependency
to libumad library in case pvrdma configuration option is enabled.
Clang forbids it:
    clang-6.0: error: -libumad: 'linker' input unused

Fix by limiting the scope to the rdmacm-mux target itself.
Fix related clang errors while at it.

Marcel Apfelbaum (3):
  contrib/rdmacm-mux: remove Wno-format-truncation flag
  hw/rdma: modify struct initialization
  contrib/rdmacm-mux: fix clang compilation

 Makefile                         |  2 ++
 contrib/rdmacm-mux/Makefile.objs |  1 -
 contrib/rdmacm-mux/main.c        | 18 +++++++++++++-----
 hw/rdma/rdma_backend.c           | 16 ++++++++++++----
 4 files changed, 27 insertions(+), 10 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]