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
Tuesday, January 21, 2020 11:44:14 AM > Subject: Re: [PATCH 2/2] aspeed/i2c: Prevent uninitialized warning > > On 1/21/20 11:02 AM, Thomas Huth wrote: > > On 21/01/2020 10.28, mreza...@redhat.com wrote: > >> From: Miroslav Rezanina > >> > >> Compiler r

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

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

2020-01-21 Thread mrezanin
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 insertion(+), 1 deletion(-) diff --git a/hw/i2c/aspeed_i2c.c b/hw/i2c/