|
From: | Marcel Apfelbaum |
Subject: | Re: [Qemu-stable] [Qemu-devel] [PATCH 2/3] hw/rdma: modify struct initialization |
Date: | Mon, 14 Jan 2019 23:22:10 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
Hi Cornelia, On 1/14/19 1:47 PM, Cornelia Huck wrote:
On Sat, 12 Jan 2019 17:02:24 +0200 Marcel Apfelbaum <address@hidden> wrote:Do not initialize structs with {0} since some CLANG versions do not support it. Use memset instead.Can't you use {} instead? (See, for example, commit ebf2a499a5c).
I'll try it. Thanks, Marcel
Signed-off-by: Marcel Apfelbaum <address@hidden> --- contrib/rdmacm-mux/main.c | 12 +++++++++--- hw/rdma/rdma_backend.c | 16 ++++++++++++---- 2 files changed, 21 insertions(+), 7 deletions(-)
[Prev in Thread] | Current Thread | [Next in Thread] |