Re: [PATCH 2/2] aspeed/i2c: Prevent uninitialized warning

2020-02-06 Thread Laurent Vivier
Le 21/01/2020 à 10:28, mreza...@redhat.com a écrit : > From: Miroslav Rezanina > > Compiler reports uninitialized warning for cmd_flags variable. > > Adding NULL initialization to prevent this warning. > > Signed-off-by: Miroslav Rezanina > --- > hw/i2c/aspeed_i2c.c | 2 +- > 1 file changed,

Re: [PATCH 2/2] aspeed/i2c: Prevent uninitialized warning

2020-01-21 Thread Thomas Huth
On 21/01/2020 11.44, Cédric Le Goater wrote: > On 1/21/20 11:02 AM, Thomas Huth wrote: >> On 21/01/2020 10.28, mreza...@redhat.com wrote: >>> From: Miroslav Rezanina >>> >>> Compiler reports uninitialized warning for cmd_flags variable. >>> >>> Adding NULL initialization to prevent this warning. >

Re: [PATCH 2/2] aspeed/i2c: Prevent uninitialized warning

2020-01-21 Thread Miroslav Rezanina
- Original Message - > From: "Cédric Le Goater" > To: "Thomas Huth" , mreza...@redhat.com, > qemu-devel@nongnu.org > Cc: "peter maydell" , "Andrew Jeffery" > , "Joel Stanley" , > qemu-triv...@nongnu.org > Sent:

Re: [PATCH 2/2] aspeed/i2c: Prevent uninitialized warning

2020-01-21 Thread Cédric Le Goater
On 1/21/20 11:02 AM, Thomas Huth wrote: > On 21/01/2020 10.28, mreza...@redhat.com wrote: >> From: Miroslav Rezanina >> >> Compiler reports uninitialized warning for cmd_flags variable. >> >> Adding NULL initialization to prevent this warning. >> >> Signed-off-by: Miroslav Rezanina >> --- >> hw/

Re: [PATCH 2/2] aspeed/i2c: Prevent uninitialized warning

2020-01-21 Thread Thomas Huth
On 21/01/2020 10.28, mreza...@redhat.com wrote: > From: Miroslav Rezanina > > Compiler reports uninitialized warning for cmd_flags variable. > > Adding NULL initialization to prevent this warning. > > Signed-off-by: Miroslav Rezanina > --- > hw/i2c/aspeed_i2c.c | 2 +- > 1 file changed, 1 ins