Re: [Xen-devel] [PATCH] xen-detect: handle asprintf error

2017-06-23 Thread Andrew Cooper
On 21/06/17 15:41, Wei Liu wrote: > Otherwise gcc with -Wunused will complain the return value is not > used. > > Reported-by: Olaf Hering > Signed-off-by: Wei Liu Acked-by: Andrew Cooper ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lis

[Xen-devel] [PATCH] xen-detect: handle asprintf error

2017-06-21 Thread Wei Liu
Otherwise gcc with -Wunused will complain the return value is not used. Reported-by: Olaf Hering Signed-off-by: Wei Liu --- Cc: Ian Jackson Cc: Olaf Hering Cc: Juergen Gross --- tools/misc/xen-detect.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a