qemu/hw/rdma
Marcel Apfelbaum 59f911938f hw/rdma: another clang compilation fix
Configuring QEMU with:
   configure --target-list="x86_64-softmmu" --cc=clang --enable-pvrdma
Results in:
   qemu/hw/rdma/rdma_rm_defs.h:108:3: error: redefinition of typedef 'RdmaDeviceResources' is a C11 feature [-Werror,-Wtypedef-redefinition]
   } RdmaDeviceResources;
     ^
   qemu/hw/rdma/rdma_backend_defs.h:24:36: note: previous definition is here
   typedef struct RdmaDeviceResources RdmaDeviceResources;

Fix by removing one of the 'typedef' definitions.

Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Message-Id: <20190214154053.15050-1-marcel.apfelbaum@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
2019-03-16 15:52:44 +02:00
..
vmw hw/pvrdma: Provide correct value to object_get_typename 2019-03-16 15:52:44 +02:00
Makefile.objs {hmp, hw/pvrdma}: Expose device internals via monitor interface 2019-03-16 15:52:44 +02:00
rdma_backend_defs.h hw/rdma: Free all receive buffers when QP is destroyed 2019-03-16 15:52:44 +02:00
rdma_backend.c hw/pvrdma: Delete unneeded function argument 2019-03-16 15:52:44 +02:00
rdma_backend.h hw/pvrdma: Delete unneeded function argument 2019-03-16 15:52:44 +02:00
rdma_rm_defs.h hw/rdma: another clang compilation fix 2019-03-16 15:52:44 +02:00
rdma_rm.c hw/rdma: Free all receive buffers when QP is destroyed 2019-03-16 15:52:44 +02:00
rdma_rm.h {hmp, hw/pvrdma}: Expose device internals via monitor interface 2019-03-16 15:52:44 +02:00
rdma_utils.c hw/rdma: Free all receive buffers when QP is destroyed 2019-03-16 15:52:44 +02:00
rdma_utils.h hw/rdma: Free all receive buffers when QP is destroyed 2019-03-16 15:52:44 +02:00
rdma.c {hmp, hw/pvrdma}: Expose device internals via monitor interface 2019-03-16 15:52:44 +02:00
trace-events hw/rdma: Switch to generic error reporting way 2019-03-16 15:52:44 +02:00