RE: [PATCH] contrib/elf2dmp: prevent uninitialized warning

2020-03-06 Thread Chenqun (kuhn)
> >To: Chenqun (kuhn) >> >Cc: qemu-devel@nongnu.org; pbonz...@redhat.com; Zhanghailiang >> >; qemu-triv...@nongnu.org >> >Subject: Re: [PATCH] contrib/elf2dmp: prevent uninitialized warning >> > >> >On Fri, 7 Feb 2020 12:16:01 +0800 >> > wrote: >&

Re: [PATCH] contrib/elf2dmp: prevent uninitialized warning

2020-03-06 Thread Viktor Prutyanov
redhat.com; Zhanghailiang > >; qemu-triv...@nongnu.org > >Subject: Re: [PATCH] contrib/elf2dmp: prevent uninitialized warning > > > >On Fri, 7 Feb 2020 12:16:01 +0800 > > wrote: > > > >> From: Chen Qun > >> > >> Fix compilation warnin

RE: [PATCH] contrib/elf2dmp: prevent uninitialized warning

2020-03-05 Thread Chenqun (kuhn)
>-Original Message- >From: Viktor Prutyanov [mailto:viktor.prutya...@phystech.edu] >Sent: Friday, March 6, 2020 2:59 AM >To: Chenqun (kuhn) >Cc: qemu-devel@nongnu.org; pbonz...@redhat.com; Zhanghailiang >; qemu-triv...@nongnu.org >Subject: Re: [PATCH] con

Re: [PATCH] contrib/elf2dmp: prevent uninitialized warning

2020-03-05 Thread Viktor Prutyanov
On Fri, 7 Feb 2020 12:16:01 +0800 wrote: > From: Chen Qun > > Fix compilation warnings: > contrib/elf2dmp/main.c:66:17: warning: ‘KdpDataBlockEncoded’ may be > used uninitialized in this function [-Wmaybe-uninitialized] > block = __builtin_bswap64(block ^ kdbe) ^ kwa; >

[PATCH] contrib/elf2dmp: prevent uninitialized warning

2020-02-06 Thread kuhn.chenqun
From: Chen Qun Fix compilation warnings: contrib/elf2dmp/main.c:66:17: warning: ‘KdpDataBlockEncoded’ may be used uninitialized in this function [-Wmaybe-uninitialized] block = __builtin_bswap64(block ^ kdbe) ^ kwa; ^~~ contrib/elf2dmp/main.c